# File: coll.make # Target: coll # 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: CommonDir = Macintosh HD:SDK Examples:MSP Common: # File and directory definitions - these should be relative to the above. # ======================================================================= MAKEFILE = coll.make „MondoBuild„ = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified ObjDir = : Includes = ¶ -i "{MaxDir}" # -i "{PPCCIncludes}" Sym-PPC = -sym off # Compiler Settings # note: -w 35 supresses "parameter not used" messages, and can be removed. # ======================================================================== SrcFiles = ¶ "coll.c" ¶ "{CommonDir}basic_c_strings.c" PPCCOptions = ¶ {Includes} ¶ {Sym-PPC} ¶ -opt speed,unroll,unswitch ¶ -typecheck relaxed ¶ -w 2,29,30,35 # Used Files - Relative to the exported Extern variable. # ====================================================== ObjFiles-PPC = ¶ "{ObjDir}coll.c.o" ¶ "{ObjDir}basic_c_strings.c.o" LibFiles-PPC = ¶ "{MaxDir}MaxLib" ¶ "{SharedLibraries}InterfaceLib" ¶ "{SharedLibraries}StdCLib" ¶ "{SharedLibraries}MathLib" ¶ "{PPCLibraries}StdCRuntime.o" ¶ "{PPCLibraries}PPCCRuntime.o" ¶ "{PPCLibraries}PPCToolLibs.o" # Build Rules # =========== coll.c.o Ä coll.c {„MondoBuild„} {PPCC} coll.c -o coll.c.o {PPCCOptions} basic_c_strings.c.o Ä "{CommonDir}basic_c_strings.c" {„MondoBuild„} {PPCC} "{CommonDir}basic_c_strings.c" -o basic_c_strings.c.o {PPCCOptions} coll.r Ä collµ.rsrc {„MondoBuild„} DeRez collµ.rsrc > coll.r coll ÄÄ coll.c.o basic_c_strings.c.o {„MondoBuild„} PPCLink ¶ -o {Targ} ¶ {ObjFiles-PPC} ¶ {LibFiles-PPC} ¶ {Sym-PPC} ¶ -mf -d ¶ -t 'iLaF' ¶ -c 'max2' ¶ -xm s ¶ -fragname "coll" ¶ -export main ¶ -main main coll ÄÄ coll.r {„MondoBuild„} Rez coll.r -a -o coll