# py - python script object for PD and MaxMSP # Copyright (c) 2002 Thomas Grill (xovo@gmx.net) # # Makefile for Apple MPW-PR # # usage: make -f py.mpw # # --------------------------------------------- MAKEFILE = py.mpw €MondoBuild€ = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified Name = py ObjDir = :MPW: MaxSDK = HD Daten:Prog Stuff:Max/MSP SDK:SDK Examples flext = ::flext: Python = HD Daten:Prog Stuff:Packs:Python-2.2 PythonIncludes = {Python}:Include PythonMacIncludes = {Python}:Mac:Include PythonCore = HD MacOS:Applications (Mac OS 9):dev:Python 2.2:PythonCore Includes = -i :,"{flext}","{MaxSDK}:Max Includes","{MaxSDK}:MSP Includes","{GUSI}include","{PythonIncludes}","{PythonMacIncludes}" ### MPW Shell - Command "Includes" was not found. Defines = -d MAXMSP -d USE_GUSI2 Sym-PPC = -sym off Flags = -bool on -enum int -includes unix -opt speed,unroll,unswitch PPCCPlusOptions = {Includes} {Sym-PPC} {Defines} {Flags} ### Source Files ### SrcFiles = main.cpp Headers = ### Object Files ### Obj-PPC =  "{ObjDir}main.cpp.x" LibFiles-Ext =  "{flext}MPW:flext.o"  "{MaxSDK}:Max Includes:MaxLib"  "{MaxSDK}:MSP Includes:MaxAudioLib"  "{PythonCore}" ### Libraries ### LibFiles-PPC =  "{SharedLibraries}StdCLib"  "{SharedLibraries}MathLib"  "{PPCLibraries}StdCRuntime.o"  "{PPCLibraries}PPCCRuntime.o"  "{PPCLibraries}MrCPlusLib.o"  ### Default Rules ### {ObjDir} Ÿ : .cpp.x Ÿ .cpp {€MondoBuild€} {Headers} {PPCCPlus} {depDir}{default}.cpp -o {targDir}{default}.cpp.x {PPCCPlusOptions} ### Build Rules ### all Ÿ Folder {€MondoBuild€} {ObjDir}{Name} Folder ŸŸ if !`Exists {ObjDir}` ; NewFolder {ObjDir} ; end {ObjDir}{Name} Ÿ {Obj-PPC} PPCLink  -o {Targ}  {deps}  {LibFiles-Ext}  {LibFiles-PPC}  {Sym-PPC}  -mf -d  -t 'iLaF'  -c 'max2'  -xm s  -export main  -main main