aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/mac/max/config-gcc.def
blob: cec5b6241ffb7c002e0453de400e94c4e1989310 (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
# where are the Max/MSP SDK header files?
# you should have the latest version!
MAXSDKPATH=/Applications/MaxMSP\ 4.6/MaxMSP-SDK/c74support

###############################################################

# prefix for flext installation
# headers are in $(FLEXTPREFIX)/include/flext
# libraries are in $(FLEXTPREFIX)/lib
# build system is in $(FLEXTPREFIX)/lib/flext

FLEXTPREFIX=/usr/local

###############################################################

# where should the external be built?
OUTPATH=max-darwin

# where should the external be installed?
INSTPATH=/Library/Application\ Support/Cycling\ \'74/externals/flext

# where should the initialization files be installed?
INITPATH=/Library/Application\ Support/Cycling\ \'74/init

# where should the help files be installed?
HELPPATH=/Applications/MaxMSP\ 4.6/max-help/flext

###############################################################

# STK (synthesis tool kit) support
# http://ccrma.stanford.edu/software/stk

# where to find the STK header files (e.g. stk.h)
STK_INC=/usr/local/include/stk

# where to find the STK library (normally libstk.a)
# (comment out STK_LIB if you don't use STK)
#STK_LIB=/usr/local/lib/libstk.a

###############################################################

# SndObj support
# http://music.nuim.ie//musictec/SndObj

# where to find the SndObj header files (e.g. sndobj.h)
SNDOBJ_INC=/usr/local/include/sndobj

# where to find the SndObj library (normally libsndobj.a)
# (comment out STK_LIB if you don't use SndObj)
#SNDOBJ_LIB=/usr/local/lib/libsndobj.a

###############################################################

# user defined compiler flags
UFLAGS += -ffast-math

# user defined optimization flags
OFLAGS += -Os -ftree-vectorize

# user defined debugging flags
DFLAGS +=

# architecture-specific flags (optional)
UFLAGS_ppc += -maltivec -faltivec
OFLAGS_ppc += -mtune=G4
DFLAGS_ppc +=

UFLAGS_i386 += -mmmx -msse -msse2 -msse3
OFLAGS_i386 += -mtune=prescott
DFLAGS_i386 +=

# cross-compilation (optional)
#ARCH=i386 ppc
#OSXSDK=/Developer/SDKs/MacOSX10.4u.sdk