From 47b27c37320b295d4b361e526af321736f832479 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 12 Apr 2005 15:59:04 +0000 Subject: - 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 --- externals/build/linux/makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'externals/build/linux') 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" -- cgit v1.2.1