# where are the Max/MSP SDK header files?
# you should have the latest version!
MAXSDKPATH=/Applications/MaxMSP\ 4.5/MaxMSP-SDK/4.5\ headers/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.5/max-help/flext

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

# user defined compiler flags
# (check if they match your system!)
UFLAGS=-faltivec -ffast-math

# user defined optimization flags
# (check if they match your system!)
OFLAGS=-O3
# optimizations for G4
OFLAGS+=-mcpu=G4