From 8e5699c83d2a5f5d649a950e94662257a9b8a979 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sun, 28 Dec 2003 03:58:11 +0000 Subject: "" svn path=/trunk/; revision=1236 --- externals/grill/dyn/config-pd-darwin.txt | 14 +++++++------- externals/grill/dyn/makefile.pd-darwin | 5 +++-- externals/grill/dyn/makefile.pd-linux | 1 + externals/grill/fftease/makefile.pd-linux | 1 + 4 files changed, 12 insertions(+), 9 deletions(-) (limited to 'externals/grill') diff --git a/externals/grill/dyn/config-pd-darwin.txt b/externals/grill/dyn/config-pd-darwin.txt index cce81447..d993e9e4 100644 --- a/externals/grill/dyn/config-pd-darwin.txt +++ b/externals/grill/dyn/config-pd-darwin.txt @@ -6,27 +6,27 @@ # # your c++ compiler (define only if not g++) -# CXX= +# CXX=gcc-3.3 # 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=/usr/src/pd-0.37-0/src # where is the PD executable? -PD=/usr/local/pd/bin/pd +PD=/usr/local/bin/pd # where do the flext libraries reside? -FLEXTPATH=/usr/local/pd/flext +FLEXTPATH=/usr/local/lib/pd/flext # where should flext libraries be built? TARGDIR=./pd-darwin -# where should pool be installed? +# where should dyn be installed? # (leave blank to omit installation) -INSTPATH=/usr/local/pd/extra +INSTPATH=/usr/local/lib/pd/extra # additional compiler flags # (check if they fit for your system!) -# UFLAGS=-maltivec +UFLAGS=-maltivec -faltivec diff --git a/externals/grill/dyn/makefile.pd-darwin b/externals/grill/dyn/makefile.pd-darwin index 5af65eaa..2fc40958 100644 --- a/externals/grill/dyn/makefile.pd-darwin +++ b/externals/grill/dyn/makefile.pd-darwin @@ -22,9 +22,10 @@ FLEXTLIB=$(FLEXTPATH)/flext.a INCLUDES=$(PDPATH) LIBPATH= FLAGS=-DFLEXT_SYS=2 ${U_FLAGS} -CFLAGS=-O6 -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes -fno-exceptions -fno-rtti +CFLAGS=-O6 -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes -fno-rtti #CFLAGS=-g LIBS=m +FRAMEWORKS=vecLib LDFLAGS=-bundle -bundle_loader $(PD) @@ -52,7 +53,7 @@ $(TARGDIR)/%.o : $(DIR)/%.cpp $(CXX) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(FLEXTPATH)) $< -o $@ $(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS)) $(FLEXTLIB) - $(CXX) $(LDFLAGS) $^ $(patsubst %,-L%,$(LIBPATH)) $(patsubst %,-l%,$(LIBS)) -o $@ + $(CXX) $(LDFLAGS) $^ $(patsubst %,-L%,$(LIBPATH)) $(patsubst %,-l%,$(LIBS)) $(patsubst %,-framework %,$(FRAMEWORKS)) -o $@ chmod 755 $@ $(INSTPATH): diff --git a/externals/grill/dyn/makefile.pd-linux b/externals/grill/dyn/makefile.pd-linux index 3e858f1b..9d401053 100644 --- a/externals/grill/dyn/makefile.pd-linux +++ b/externals/grill/dyn/makefile.pd-linux @@ -22,6 +22,7 @@ INCLUDES=$(PDPATH) LIBPATH= FLAGS=-DFLEXT_SYS=2 CFLAGS=-O2 $(UFLAGS) +LDFLAGS=$(UFLAGS) # needed by icc LIBS=stdc++ diff --git a/externals/grill/fftease/makefile.pd-linux b/externals/grill/fftease/makefile.pd-linux index 5982626c..ab4204fb 100644 --- a/externals/grill/fftease/makefile.pd-linux +++ b/externals/grill/fftease/makefile.pd-linux @@ -22,6 +22,7 @@ INCLUDES=$(PDPATH) LIBPATH= FLAGS=-DFLEXT_SYS=2 CFLAGS=-O2 $(UFLAGS) +LDFLAGS=$(UFLAGS) # needed by icc LIBS=stdc++ ifdef FLEXT_SHARED -- cgit v1.2.1