aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/flext.mpw
blob: a287b220bc0cbf63fa527dc4ce43860b51260d43 (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
# flext - C++ layer for Max/MSP and pd (pure data) externals
# Copyright (c) 2001,2002 Thomas Grill (xovo@gmx.net)
#
# Makefile for Apple MPW-PR
#
# usage: make -f flext.mpw
#
# ---------------------------------------------

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

Name			= flext

ObjDir          = :MPW:
MaxSDK			= Daten:Prog Stuff:Max/MSP SDK:SDK Examples
Includes        = -i :,"{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  # arg not used

PPCCPlusOptions = {Includes} {Sym-PPC} {Defines} {Flags} {WarnOff}


### Source Files ###

Headers			= flstdc.h flbase.h fldefs.h flext.h flclass.h fldsp.h flthr.h flmspbuffer.h flinternal.h
SrcFiles        = flbase.cpp flbuf.cpp flext.cpp fllib.cpp fldsp.cpp flatom.cpp flsetup.cpp flthr.cpp flutil.cpp flxlet.cpp 

SrcDir	= :source:

### Object Files ###

ObjFiles-PPC    =  ¶
				  "{ObjDir}flbase.cpp.x" ¶
				  "{ObjDir}flbuf.cpp.x" ¶
				  "{ObjDir}flext.cpp.x" ¶
				  "{ObjDir}fllib.cpp.x" ¶
				  "{ObjDir}fldsp.cpp.x" ¶
				  "{ObjDir}flatom.cpp.x" ¶
				  "{ObjDir}flsetup.cpp.x" ¶
				  "{ObjDir}flthr.cpp.x" ¶
				  "{ObjDir}flutil.cpp.x" ¶
				  "{ObjDir}flxlet.cpp.x"

### Libraries ###

LibFiles-PPC    = 


### Default Rules ###

{ObjDir} Ä {SrcDir}

.cpp.x  Ä  .cpp  {¥MondoBuild¥} {Headers}
	{PPCCPlus} {depDir}{default}.cpp -o {targDir}{default}.cpp.x {PPCCPlusOptions}


### Build Rules ###

all  Ä Folder {ObjDir}{Name}.o

Folder Ä
	if !`Exists {ObjDir}` ; NewFolder {ObjDir} ; end

{ObjDir}{Name}.o  ÄÄ  {ObjFiles-PPC} {LibFiles-PPC} 
	PPCLink ¶
		-o {Targ} ¶
		{Deps} ¶
		{Sym-PPC} ¶
		-mf -d ¶
		-t 'XCOF' ¶
		-c 'MPS ' ¶
		-xm l