aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-06-10 20:17:42 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-06-10 20:17:42 +0000
commite07d12e285c5f7c3abcac12fb8413f532e846124 (patch)
tree3270d3d380fffe8a25b1af187ba4cc8db23f4900 /Makefile
parent3252d2cc2c0759898c2d5b3f2ccf228e780406c5 (diff)
- got ff_autocenter and ff_gain working fine, now its time for some actual
effects!! svn path=/trunk/externals/hcs/hid/; revision=3164
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index c454bdd..e0e340f 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ LDFLAGS = -bundle -bundle_loader $(PDEXECUTABLE) \
$(patsubst %,-framework %,$(FRAMEWORKS))
.SUFFIXES: .pd_darwin
-all: input_arrays pd_darwin
+all: input_arrays hid_utilities pd_darwin
pd_darwin: hid.pd_darwin
endif
@@ -31,9 +31,11 @@ endif
PDEXECUTABLE = ../../../pd/bin/pd
# generic optimization
-OPT_FLAGS = -O3
-# G4 7450 optimization (gives errors)
-#OPT_FLAGS = -fast -mcpu=7450 -maltivec
+#OPT_FLAGS = -O3 -ffast-math
+# G4 optimization
+OPT_FLAGS = -O3 -mcpu=7400 -faltivec -ffast-math -fPIC
+# faster G4 7450 optimization (gives errors)
+#OPT_FLAGS = -ffast -mcpu=7450 -faltivec -ffast-math -fPIC
CFLAGS = $(OPT_FLAGS) -Wall -W -Wno-shadow -Wstrict-prototypes -Wno-unused
@@ -48,11 +50,13 @@ INCLUDE = -I./ -I../../../pd/src -I./HID\ Utilities\ Source
.o.pd_linux:
ld $(LDFLAGS) -o $*.pd_linux *.o -lc -lm
strip --strip-unneeded $*.pd_linux
-# rm $*.o
input_arrays:
- ./make-arrays-from-input.h.pl
+ test -f input_arrays.h || ./make-arrays-from-input.h.pl
+hid_utilities:
+ test -f ./HID\ Utilities\ Source/build/libHIDUtilities.a || \
+ ( cd ./HID\ Utilities\ Source && pbxbuild )
clean: ; rm -f *.pd_* *.o *~ input_arrays.? doc/ev*-list.pd