blob: 9e6b625e7dcd6f68d4197f1ecd8965a3b5595c8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
# xsample - extended sample objects for Max/MSP and pd (pure data)
# Copyright (c) 2001,2002 Thomas Grill (xovo@gmx.net)
#
# Makefile for Apple MPW-PR
#
# usage: make -f xsample.mpw
#
# ---------------------------------------------
MAKEFILE = xsample.mpw
MondoBuild = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified
ObjDir = ::MPW:
MaxSDK = HD Daten:Prog Stuff:Max/MSP SDK:SDK Examples
flext = :::flext:
Includes = -i :,"{flext}","{MaxSDK}:Max Includes","{MaxSDK}:MSP Includes"
Defines = -d MAXMSP
Sym-PPC = -sym off
Flags = -bool on -enum int -includes unix -opt speed,unroll,unswitch
WarnOff = -w 35
PPCCPlusOptions = {Includes} {Sym-PPC} {Defines} {Flags} {WarnOff}
### Source Files ###
SrcFiles = main.cpp inter.cpp groove.cpp play.cpp record.cpp
Headers = main.h
### Object Files ###
Obj-groove =
"{ObjDir}main.cpp.x"
"{ObjDir}inter.cpp.x"
"{ObjDir}groove.cpp.x"
Obj-play =
"{ObjDir}main.cpp.x"
"{ObjDir}inter.cpp.x"
"{ObjDir}play.cpp.x"
Obj-record =
"{ObjDir}main.cpp.x"
"{ObjDir}inter.cpp.x"
"{ObjDir}record.cpp.x"
Obj =
"{ObjDir}main.cpp.x"
"{ObjDir}record.cpp.x"
"{ObjDir}play.cpp.x"
"{ObjDir}inter.cpp.x"
"{ObjDir}groove.cpp.x"
### Libraries ###
LibFiles-Ext =
"{flext}MPW:flext.o"
"{MaxSDK}:Max Includes:MaxLib"
"{MaxSDK}:MSP Includes:MaxAudioLib"
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 {ObjDir}xsample
single Folder {ObjDir}xgroove~ {ObjDir}xplay~ {ObjDir}xrecord~
Folder
if !`Exists {ObjDir}` ; NewFolder {ObjDir} ; end
{ObjDir}xgroove~ {Obj-groove} {LibFiles-Ext}
PPCLink
-o {Targ}
{deps}
{LibFiles-PPC}
{Sym-PPC}
-mf -d
-t 'iLaF' -c 'max2'
-xm s
-export main -main main
{ObjDir}xplay~ {Obj-play} {LibFiles-Ext}
PPCLink
-o {Targ}
{deps}
{LibFiles-PPC}
{Sym-PPC}
-mf -d
-t 'iLaF' -c 'max2'
-xm s
-export main -main main
{ObjDir}xrecord~ {Obj-record} {LibFiles-Ext}
PPCLink
-o {Targ}
{deps}
{LibFiles-PPC}
{Sym-PPC}
-mf -d
-t 'iLaF' -c 'max2'
-xm s
-export main -main main
{ObjDir}xsample {Obj} {LibFiles-Ext}
PPCLink
-o {Targ}
{deps}
{LibFiles-PPC}
{Sym-PPC}
-mf -d
-t 'iLaF' -c 'max2'
-xm s
-export main -main main
|