diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-06-01 18:27:06 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-06-01 18:27:06 +0000 |
commit | 3b9c9339d0650879b7f5e58952a6f0d32d33c497 (patch) | |
tree | d489e2bf1970c71f1e96743518fe44e633b6aac2 | |
parent | d0de4d7914c39179636e815d2061dfe230c31d99 (diff) |
added pd_darwin build targets and fixed paths for svn file locations
svn path=/trunk/externals/k_jack~/; revision=9961
-rw-r--r-- | makefile | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -66,7 +66,7 @@ LINUXCFLAGS = -DPD -DUNIX -O2 -funroll-loops -fomit-frame-pointer \ -Wall -W -Wshadow -Wstrict-prototypes \ -Wno-unused -Wno-parentheses -Wno-switch -PDSRCDIR=../../../src +PDSRCDIR=../../pd/src LINUXINCLUDE = -I$(PDSRCDIR) .c.pd_linux: @@ -76,10 +76,22 @@ LINUXINCLUDE = -I$(PDSRCDIR) rm -f $*.o ../$*.pd_linux ln -s $*/$*.pd_linux .. -# ---------------------------------------------------------- +# ----------------------- Mac OSX ----------------------- + +pd_darwin: $(NAME).pd_darwin -install: - cp help-*.pd ../../doc/5.reference +.SUFFIXES: .pd_darwin + +DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \ + -Wno-unused -Wno-parentheses -Wno-switch + +.c.pd_darwin: + $(CC) $(DARWINCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c + $(CC) -bundle -bundle_loader ../../pd/bin/pd -undefined dynamic_lookup \ + -o $*.pd_darwin $*.o + rm -f $*.o + +# ---------------------------------------------------------- clean: rm -f *.o *.pd_* so_locations *~ |