diff options
Diffstat (limited to 'externals/grill/py/py.mpw')
-rw-r--r-- | externals/grill/py/py.mpw | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/externals/grill/py/py.mpw b/externals/grill/py/py.mpw new file mode 100644 index 00000000..54c507a0 --- /dev/null +++ b/externals/grill/py/py.mpw @@ -0,0 +1,91 @@ +# 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 |