# File: .make # Target: # Created: Tuesday, May 1, 2001 03:16:38 PM # Directory definitions - these should be altered for your system. # ================================================================ MaxDir = Macintosh HD:SDK Examples:MAX includes: # File and directory definitions - these should be relative to the above. # ======================================================================= MAKEFILE = .make ¥MondoBuild¥ = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified ObjDir = : Includes = ¶ -i "{MaxDir}" Sym-PPC = -sym off # Compiler Settings # note: -w 35 supresses "parameter not used" messages, and can be removed. # ======================================================================== SrcFiles = ¶ ".c" PPCCOptions = ¶ {Includes} ¶ {Sym-PPC} ¶ -opt speed,unroll,unswitch ¶ -typecheck relaxed ¶ -w 29,35 # Used Files - Relative to the exported Extern variable. # ====================================================== ObjFiles-PPC = ¶ "{ObjDir}.c.o" LibFiles-PPC = ¶ "{MaxDir}MaxLib" ¶ "{SharedLibraries}InterfaceLib" ¶ "{SharedLibraries}StdCLib" ¶ "{SharedLibraries}MathLib" ¶ "{PPCLibraries}StdCRuntime.o" ¶ "{PPCLibraries}PPCCRuntime.o" ¶ "{PPCLibraries}PPCToolLibs.o" # Build Rules # =========== .c.o Ä .c {¥MondoBuild¥} {PPCC} {depDir}.c -o {targDir}.c.o {PPCCOptions} .r Ä .rsrc {¥MondoBuild¥} DeRez "{ObjDir}.rsrc" > "{ObjDir}.r" ÄÄ .r {¥MondoBuild¥} Rez .r -a -o ÄÄ .c.o {¥MondoBuild¥} PPCLink ¶ -o {Targ} ¶ {ObjFiles-PPC} ¶ {LibFiles-PPC} ¶ {Sym-PPC} ¶ -mf -d ¶ -t 'iLaF' ¶ -c 'max2' ¶ -xm s ¶ -fragname "" ¶ -export main ¶ -main main