syncfiles/Makefile
Dietrich Epp 4e0d9b16c7 Refactor SyncFiles
- Split into multiple source files
- Create new file action enum
- Push or pull must be explicit

GitOrigin-RevId: c6ccd85f1452a1333a1deb3495792451a0b8f860
2021-03-17 21:05:17 -04:00

106 lines
1.9 KiB
Makefile

Sym-PPC = -sym Full
Sym-68K = -sym Full
COptions = -proto strict
COptions-PPC = {COptions} {Sym-PPC}
COptions-68K = {COptions} {Sym-68K}
### Source Files ###
SrcFiles =
file.c ∂
mac_from_unix.c ∂
mac_to_unix.c ∂
sync.c ∂
util.c
### Object Files ###
ObjFiles-PPC =
file.c.x ∂
mac_from_unix.c.x ∂
mac_to_unix.c.x ∂
sync.c.x ∂
util.c.x
ObjFiles-68K =
file.c.o ∂
mac_from_unix.c.o ∂
mac_to_unix.c.o ∂
sync.c.o ∂
util.c.o
### Libraries ###
LibFiles-PPC =
"{SharedLibraries}InterfaceLib"
"{SharedLibraries}StdCLib"
"{PPCLibraries}StdCRuntime.o"
"{PPCLibraries}PPCCRuntime.o"
"{PPCLibraries}PPCToolLibs.o"
LibFiles-68K =
"{Libraries}Stubs.o"
"{CLibraries}StdCLib.o"
"{Libraries}MacRuntime.o"
"{Libraries}IntEnv.o"
"{Libraries}ToolLibs.o"
"{Libraries}Interface.o"
### Default Rules ###
.c.x ƒ .c
{PPCC} {depDir}{default}.c -o {targDir}{default}.c.x {COptions-PPC}
.c.o ƒ .c
{C} {depDir}{default}.c -o {targDir}{default}.c.o {COptions-68K}
### Build Rules ###
SyncFiles ƒƒ {ObjFiles-PPC} {LibFiles-PPC}
PPCLink
-o {Targ}
{ObjFiles-PPC}
{LibFiles-PPC}
{Sym-PPC}
-mf -d
-t 'MPST'
-c 'MPS '
SyncFiles ƒƒ {ObjFiles-68K} {LibFiles-68K}
Link
-o {Targ}
{ObjFiles-68K}
{LibFiles-68K}
{Sym-68K}
-mf -d
-t 'MPST'
-c 'MPS '
### Build this target to generate "include file" dependencies. ###
Dependencies ƒ $OutOfDate
MakeDepend
-append Makefile
-skip "{CIncludes}"
-objext .x
-objext .o
{SrcFiles}
#*** Dependencies: Cut here ***
# These dependencies were produced at 10:53:16 AM on Thu, Mar 11, 2021 by MakeDepend
:mac_from_unix.c.x :mac_from_unix.c.o ƒ ∂
:mac_from_unix.c ∂
:defs.h ∂
:mac_from_unix_data.h
:mac_to_unix.c.x :mac_to_unix.c.o ƒ ∂
:mac_to_unix.c ∂
:defs.h
:sync.c.x :sync.c.o ƒ ∂
:sync.c ∂
:defs.h