From e07d12e285c5f7c3abcac12fb8413f532e846124 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 10 Jun 2005 20:17:42 +0000 Subject: - got ff_autocenter and ff_gain working fine, now its time for some actual effects!! svn path=/trunk/externals/hcs/hid/; revision=3164 --- Makefile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.1