antoine-source/appleworksgs/Pict/Pict.make

1 line
1.8 KiB
Plaintext
Raw Normal View History

2023-03-04 02:45:20 +00:00
# # Pict.make - Makefile for Pict # # Copyright <20> 1989, Claris Corporation. # # This is a sub-makefile, called recursively when ::AppleWorks.make is # executed. # # All modules (including Driver, Scrap, Pict., SS, DB, etc.) # should have similar makefiles in their respective folders. # # This makefile rebuilds the module object files as necessary and creates a # file containing the necessary steps to link this module with the rest of # AppleWorksGS. ::AppleWorks.make combines the link files from the modules # into a script which it executes to create an executable. #-------------------------------------------------------------------------------- # Variables AsmIIGSOptions = Segment1 = PICT Module = Pict ModuleDir = {AWGS}{Module}: SrcDir = {ModuleDir}Src: IncDir = {ModuleDir} ObjDir = {ModuleDir}Obj: Linkfile = {ModuleDir}{Module}.link Makefile = {ModuleDir}{Module}.make GlobalIncludes = {IncDir}Pict.equ <09> {AWGS}Driver:Driver.equ GlobalMacros = {AWGS}Macros:Macros.dump Objs = {ObjDir}picture.aii.o <09> {ObjDir}fliprot.aii.o <09> {ObjDir}region.aii.o <09> {ObjDir}pixels.aii.o <09> {ObjDir}text.aii.o <09> {ObjDir}misc.aii.o #-------------------------------------------------------------------------------- # Main target {Linkfile} <09><> {Objs} {Makefile} @echo "Creating {LinkFile} <20><>" @echo " -lseg:dynamic {Segment1} {Objs} <09><>" > {Targ} # Global Pict dependencies {Objs} <09> {GlobalIncludes} {GlobalMacros} clean <09> @confirm "Delete {Module} objs and linkfile?" @if {status} == 0 then rm {Linkfile} {Objs} @end #-------------------------------------------------------------------------------- # Default rules .aii.o <09> .aii AsmIIGS -i {AWGS}Macros,{AWGS}Driver,{AWGS}Pict {DepDir}{Default}.aii -o {TargDir}{Default}.aii.o {AsmIIGSOptions} {ObjDir} <09> {SrcDir}