diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-04-12 15:59:04 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-04-12 15:59:04 +0000 |
commit | 47b27c37320b295d4b361e526af321736f832479 (patch) | |
tree | 79d8e0b3cb5b959c98d054d4a8fc81b1bf5ef20e /externals/build/darwin | |
parent | 521527d5b800f405758f45a75f3676efe4c8269f (diff) |
- added headers from 0.38-4 to externals/build/include and added README so
people don't repeat the same mistake of removing/etc.
- added Pd src to include search before externals/build/include so if the Pd
src is in the standard dev layout, externals will be compiled with those
headers instead of externals/build/include
svn path=/trunk/; revision=2744
Diffstat (limited to 'externals/build/darwin')
-rw-r--r-- | externals/build/darwin/makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/externals/build/darwin/makefile b/externals/build/darwin/makefile index ae73f9dc..089078ce 100644 --- a/externals/build/darwin/makefile +++ b/externals/build/darwin/makefile @@ -24,13 +24,14 @@ OPTIM_FLAGS = -mpowerpc-gpopt CFLAGS = -DPD -DUNIX -DMACOSX -Dunix $(OPTIM_FLAGS) \ -Wall -W -Wno-unused -Wno-parentheses -Wno-switch -Wno-shadow -INCLUDES = -I. -I.. -I../include -LDFLAGS = -bundle -bundle_loader $(PDEXECUTABLE) +INCLUDES = -I. -I.. -I../../../pd/src -I../include -I/sw/include +LDFLAGS = -bundle -bundle_loader $(PDEXECUTABLE) -L/sw/lib %.pd_darwin: ../src/%.c $(CC) $(CFLAGS) $(INCLUDES) -o "$*.o" -c "../src/$*.c" $(CC) $(LDFLAGS) -o "$*.pd_darwin" "$*.o" -lc -lm \ -# `test -f $*.libs && cat $*.libs` + `test -f $*.libs && cat $*.libs` \ + `test -f ../src/$*.libs && cat ../src/$*.libs` chmod a-x "$*.pd_darwin" rm -f "$*.o" @@ -60,7 +61,7 @@ link.stamp: cp ../src/*.c . # rm vst.c # MacOSX exceptions that don't work just yet - -rm ogg* ossmixer.c plugin~.c cdplayer.c promiscous~.c serialctl.c + -rm ossmixer.c plugin~.c cdplayer.c promiscous~.c serialctl.c -rm serial_bird.c serial_ms.c proc.c streamin~.c streamout~.c rhythm_* touch link.stamp make |