Set TargetsPath ':Targets:MrC.sym:';
Set ObjectsPath ':Objects:MrC.sym:';
Set Symbols '1';
Export TargetsPath;
Export ObjectsPath;
Export Projects;
Export Symbols

:Tools:MrCpp :Gus.c -o "{ObjectsPath}Gus.c.o" -align power -loadc ':Objects:MrC.sym:PrecompiledHeaders'  -d POWERPC=1 -d OLDROUTINENAMES=0 -d GSSound=1 -d has68KStuff=0 -d hasPPCEmulator=1 -sym on -traceback   -rtti off -d MRCPOWERPC=1  -i :Includes:Public: -i :Includes:Private: -i : -i :Quickdraw: -i :AppleTalk: -i :Base: -i :Video: -i :Disks: -i :Preferences: -i :Debug: -i :Sound:
:Tools:MrCpp :Sound:Ensoniq.c -o "{ObjectsPath}Ensoniq.c.o" -align power -loadc ':Objects:MrC.sym:PrecompiledHeaders'  -d POWERPC=1 -d OLDROUTINENAMES=0 -d GSSound=1 -d has68KStuff=0 -d hasPPCEmulator=1 -sym on -traceback   -rtti off -d MRCPOWERPC=1  -i :Includes:Public: -i :Includes:Private: -i : -i :Quickdraw: -i :AppleTalk: -i :Base: -i :Video: -i :Disks: -i :Preferences: -i :Debug: -i :Sound:
:Tools:PPCLink  -w -xm e -c Gus! -t APPL -librename InterfaceLib.xcoff=InterfaceLib -librename DragLib.xcoff=DragLib -librename MathLib.xcoff=MathLib -librename StdCLib.xcoff=StdCLib -weaklib DragLib -packdata on -tocdataref on -mf -sym on -o "{ObjectsPath}Gus.MrC.pef" "{ObjectsPath}Gus.dump.c.o" "{ObjectsPath}Dispatch.a.o" "{ObjectsPath}Emulate816.a.o" "{ObjectsPath}GSMemory.a.o" "{ObjectsPath}COPcodes.a.o" "{ObjectsPath}AccurateDispatch.a.o" "{ObjectsPath}Accurate816.a.o" "{ObjectsPath}AccurateGSMemory.a.o" "{ObjectsPath}GSMemoryPrimitives.a.o" "{ObjectsPath}GSMemoryFuncs.a.o" "{ObjectsPath}DispatchTables.a.o" "{ObjectsPath}816.c.o" "{ObjectsPath}GSMemoryFuncs.c.o" "{ObjectsPath}GSMemory.c.o" "{ObjectsPath}GSMemoryPrimitives.c.o" "{ObjectsPath}gs.c.o" "{ObjectsPath}Gus.c.o" "{ObjectsPath}AboutBox.c.o" "{ObjectsPath}Clipboard.c.o" "{ObjectsPath}ListControl.c.o" "{ObjectsPath}Preferences.c.o" "{ObjectsPath}MultiPaneDlgs.c.o" "{ObjectsPath}Utilities.c.o" "{ObjectsPath}GSVideo.c.o" "{ObjectsPath}GSText.c.o" "{ObjectsPath}GSHiRes.c.o" "{ObjectsPath}GSHiResTable.c.o" "{ObjectsPath}GSDoubleHiRes.c.o" "{ObjectsPath}GSDoubleHiResTable.c.o" "{ObjectsPath}GSSuperHiRes.c.o" "{ObjectsPath}Ensoniq.c.o" "{ObjectsPath}ToolboxSound.c.o" "{ObjectsPath}GSC030Sound.c.o" "{ObjectsPath}DiskStuff.c.o" "{ObjectsPath}DisksHumanInterface.c.o" "{ObjectsPath}Unshrink.cp.o" "{ObjectsPath}Exceptions.cp.o" "{ObjectsPath}MoreStrings.cp.o" "{ObjectsPath}MoreQuickdraw.cp.o" "{ObjectsPath}LittleStreams.cp.o" "{ObjectsPath}Printing.c.o" "{ObjectsPath}patches.c.o" "{ObjectsPath}drag.c.o" "{ObjectsPath}Debug.c.o" "{ObjectsPath}GSNameSpace.c.o" "{ObjectsPath}GSRegions.c.o" "{ObjectsPath}GSSlice.c.o" "{ObjectsPath}GSRect.c.o" "{ObjectsPath}GS_ADB.c.o" "{ObjectsPath}Joystick.c.o" "{ObjectsPath}AppleTalkGS.c.o" "{ObjectsPath}IRQ.c.o" "{ObjectsPath}SYS.c.o" "{ObjectsPath}LAP.c.o" :Libraries:PPCCRuntime.xcoff :Libraries:StdCRuntime.xcoff :Libraries:InterfaceLib.xcoff :Libraries:StdCLib.xcoff :Libraries:DragLib.xcoff :Libraries:MathLib.xcoff
:Tools:Rez -i :Includes:RIncludes: -d POWERPC=1 -d AppleTalk=0 -d GusVersionEngString='"(M)e356"' -d GusVersionYear='"1997"' -d GusVersionLong=0 -d GusVersionString='""' -i : -o "{ObjectsPath}Gus.rsrc" Gus.r RomRez.r Bundle.r
Duplicate -y -r "{ObjectsPath}Gus.rsrc" "{Projects}Gus.rsrc"
Rez GusVersion.r -i :Includes:RIncludes: -d POWERPC=1 -d AppleTalk=0 -d GusVersionEngString='"(M)e356"' -d GusVersionYear='"1997"' -d GusVersionLong=0 -d GusVersionString='""' -append -o {ObjectsPath}Gus.rsrc
Duplicate -y -d "{ObjectsPath}Gus.MrC.pef" "{TargetsPath}Gus.MrC" 
Duplicate -y -r "{ObjectsPath}Gus.rsrc" "{TargetsPath}Gus.MrC"
