diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2003-03-12 04:40:48 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2003-03-12 04:40:48 +0000 |
commit | 72312b8ee69c00c50a7e7470a3147ff627d98410 (patch) | |
tree | 629df0e3fbb1e97ee483e6c5f35e4fecca0c2570 /externals/grill/fftease | |
parent | d65dcff92fe76c0ff5053f81f80df32f496dc371 (diff) |
""
svn path=/trunk/; revision=466
Diffstat (limited to 'externals/grill/fftease')
-rw-r--r-- | externals/grill/fftease/build-pd-darwin.sh | 2 | ||||
-rw-r--r-- | externals/grill/fftease/config-pd-darwin.txt | 14 | ||||
-rw-r--r-- | externals/grill/fftease/makefile.pd-darwin | 4 |
3 files changed, 12 insertions, 8 deletions
diff --git a/externals/grill/fftease/build-pd-darwin.sh b/externals/grill/fftease/build-pd-darwin.sh index edd03207..8f21ebcb 100644 --- a/externals/grill/fftease/build-pd-darwin.sh +++ b/externals/grill/fftease/build-pd-darwin.sh @@ -4,7 +4,7 @@ make -f makefile.pd-darwin && { - if [ $INSTPATH != "" ]; then + if [ "${INSTPATH}" != "" ]; then echo Now install as root sudo make -f makefile.pd-darwin install fi diff --git a/externals/grill/fftease/config-pd-darwin.txt b/externals/grill/fftease/config-pd-darwin.txt index fa2127b6..755a8c0e 100644 --- a/externals/grill/fftease/config-pd-darwin.txt +++ b/externals/grill/fftease/config-pd-darwin.txt @@ -10,24 +10,28 @@ # C=gcc # CXX=g++ + +# where is PD installed? +PDDIR=/usr/local/pd + # where are the PD header files? # leave it blank if it is a system directory (like /usr/local/include), # since gcc 3.2 complains about it -PDPATH=/usr/local/pd/src +PDPATH=${PDDIR}/src # where is the PD executable? -PD=/usr/local/pd/bin/pd +PD=${PDDIR}/bin/pd # where do the flext libraries reside? -FLEXTPATH=/usr/local/pd/flext +FLEXTPATH=${PDDIR}/flext # where should flext libraries be built? TARGDIR=./pd-darwin # where should the external be installed? # (leave blank to omit installation) -INSTPATH=/usr/local/pd/extra +INSTPATH=${PDDIR}/extra # additional compiler flags # (check if they fit for your system!) -# UFLAGS=-maltivec +UFLAGS=-malign-power -maltivec diff --git a/externals/grill/fftease/makefile.pd-darwin b/externals/grill/fftease/makefile.pd-darwin index 91f830b3..12c262a4 100644 --- a/externals/grill/fftease/makefile.pd-darwin +++ b/externals/grill/fftease/makefile.pd-darwin @@ -24,9 +24,9 @@ INCLUDES=${PDPATH} ${FLEXTPATH} LIBPATH= FLAGS=-DFLEXT_SYS=2 ${UFLAGS} CFLAGS=-O6 -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes -fno-exceptions -fno-rtti -#CFLAGS=-g LIBS=m LDFLAGS=-bundle -bundle_loader ${PD} +FRAMEWORKS=Carbon # --------------------------------------------- # the rest can stay untouched @@ -57,7 +57,7 @@ $(TARGDIR)/%.co : $(DIR)/%.c $(CC) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES)) $< -o $@ $(TARGET) : $(patsubst %.c,$(TARGDIR)/%.co,$(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS))) $(FLEXTLIB) - $(CXX) $(LDFLAGS) $^ $(patsubst %,-L%,$(LIBPATH)) $(patsubst %,-l%,$(LIBS)) -o $@ + $(CXX) $(LDFLAGS) $^ $(patsubst %,-framework %,$(FRAMEWORKS)) $(patsubst %,-L%,$(LIBPATH)) $(patsubst %,-l%,$(LIBS)) -o $@ chmod 755 $@ $(INSTPATH): |