aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/delsplit/delsplit.mpw
blob: d167f4b165da04754ab4d105064988bb3bc15d23 (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
# delsplit - split symbol with delimiter into list
# Copyright (c) 2002 Thomas Grill (xovo@gmx.net)
#
# Makefile for Apple MPW-PR 
#
# usage: make -f delsplit.mpw
#
# ---------------------------------------------

MAKEFILE        = delsplit.mpw
¥MondoBuild¥    = {MAKEFILE}  # Make blank to avoid rebuilds when makefile is modified

Name			= delsplit

ObjDir          = :MPW:
MaxSDK			= HD Daten:Prog Stuff:Max/MSP SDK:SDK Examples
flext			= ::flext:
Includes        = -i :,"{flext}source","{MaxSDK}:Max Includes","{MaxSDK}:MSP Includes"
Defines			= -d MAXMSP

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"

### 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