From eb9ef05774af20edb43118182834c18a4ac70707 Mon Sep 17 00:00:00 2001 From: Davide Morelli Date: Tue, 18 Oct 2005 23:10:53 +0000 Subject: initial checkin svn path=/trunk/externals/frankenstein/; revision=3734 --- makefile.darwin | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 makefile.darwin (limited to 'makefile.darwin') diff --git a/makefile.darwin b/makefile.darwin new file mode 100755 index 0000000..79914a5 --- /dev/null +++ b/makefile.darwin @@ -0,0 +1,37 @@ +current: pd_darwin + +clean: ; rm -f *.pd_linux *.o *.pd_darwin + + +# ----------------------- Mac OSX ----------------------- + +pd_darwin: chord_melo.pd_darwin + +.SUFFIXES: .pd_darwin + + +# 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=/Users/Development/music/puredatacvs/devel_0_39/src +#PDPATH=/Users/davidemorelli/Desktop/robaDavide/Pd-0.38-3.app/Contents/Resources/src/ + +# where is the PD executable? +PD=/Applications/PdOLD.app/Contents/Resources/bin/pd +#PD=/usr/local/lib/pd/bin/pd +#PD=/Users/davidemorelli/Desktop/robaDavide/Pd-0.38-3.app/Contents/Resources/bin/pd +#PD=/Users/davidemorelli/Desktop/robaDavide/Pd-0.38-3.app/Contents/Resources/src/ + + +DARWININCLUDE = -I../../src -I$(PDPATH) + +DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \ + -Wno-unused -Wno-parentheses -Wno-switch + +.c.pd_darwin: + cc $(DARWINCFLAGS) $(DARWININCLUDE) -o $*.o -c $*.c + cc -bundle -bundle_loader $(PD) -flat_namespace -o $*.pd_darwin *.o +# cc -bundle -undefined suppress -flat_namespace -o $*.pd_darwin +# rm -f $*.o + +# $(FANNLIB) -- cgit v1.2.1