# where is the PD installation including source code?
# (this should point to the main folder, which has a "src" subfolder)
PDPATH=/Applications/Pd-0.38-3.app/Contents/Resources

# where is the PD executable?
PDBIN=$(PDPATH)/bin/pd

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

# 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=pd-darwin

# where should the external be installed?
INSTPATH=$(PDPATH)/extra

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

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

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