aboutsummaryrefslogtreecommitdiff
path: root/externals/build/linux
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-04-12 15:59:04 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-04-12 15:59:04 +0000
commit47b27c37320b295d4b361e526af321736f832479 (patch)
tree79d8e0b3cb5b959c98d054d4a8fc81b1bf5ef20e /externals/build/linux
parent521527d5b800f405758f45a75f3676efe4c8269f (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/linux')
-rw-r--r--externals/build/linux/makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/externals/build/linux/makefile b/externals/build/linux/makefile
index 4091598b..d4e2e4a1 100644
--- a/externals/build/linux/makefile
+++ b/externals/build/linux/makefile
@@ -46,12 +46,13 @@ CFLAGS = -fPIC -DPD -DUNIX $(OPTIM_FLAGS) \
-Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch
-INCLUDES = -I. -I.. -I../include
+INCLUDES = -I. -I.. -I../../../pd/src -I../include
%.pd_linux: ../src/%.c
$(CC) $(CFLAGS) $(INCLUDES) -o "$*.o" -c "../src/$*.c"
gcc -Wl,-export_dynamic -shared -o "$*.pd_linux" "$*.o" -lc -lm \
- `test -f $*.libs && cat $*.libs`
+ `test -f $*.libs && cat $*.libs` \
+ `test -f ../src/$*.libs && cat ../src/$*.libs`
chmod a-x "$*.pd_linux"
$(STRIP) $*.pd_linux
rm -f "$*.o"