[PD-cvs] SF.net SVN: pure-data: [9961] trunk/externals/k_jack~/makefile
eighthave at users.sourceforge.net
eighthave at users.sourceforge.net
Sun Jun 1 20:27:07 CEST 2008
Revision: 9961
http://pure-data.svn.sourceforge.net/pure-data/?rev=9961&view=rev
Author: eighthave
Date: 2008-06-01 11:27:06 -0700 (Sun, 01 Jun 2008)
Log Message:
-----------
added pd_darwin build targets and fixed paths for svn file locations
Modified Paths:
--------------
trunk/externals/k_jack~/makefile
Modified: trunk/externals/k_jack~/makefile
===================================================================
--- trunk/externals/k_jack~/makefile 2008-06-01 18:15:56 UTC (rev 9960)
+++ trunk/externals/k_jack~/makefile 2008-06-01 18:27:06 UTC (rev 9961)
@@ -66,7 +66,7 @@
-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 @@
rm -f $*.o ../$*.pd_linux
ln -s $*/$*.pd_linux ..
+# ----------------------- Mac OSX -----------------------
+
+pd_darwin: $(NAME).pd_darwin
+
+.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
+
# ----------------------------------------------------------
-install:
- cp help-*.pd ../../doc/5.reference
-
clean:
rm -f *.o *.pd_* so_locations *~
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Pd-cvs
mailing list