aboutsummaryrefslogtreecommitdiff
path: root/externals/build/win/makefile
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/win/makefile
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/win/makefile')
-rw-r--r--externals/build/win/makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/externals/build/win/makefile b/externals/build/win/makefile
index 9f41f479..b1e77ca8 100644
--- a/externals/build/win/makefile
+++ b/externals/build/win/makefile
@@ -9,12 +9,13 @@ all: $(EXTERNALS:.c=.dll)
CFLAGS = -DPD -DMSW -DNT -Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch
-INCLUDE = -I. -I.. -I../include -I/usr/local/include
+INCLUDE = -I. -I.. -I ../../../pd/src -I../include -I/usr/local/include
%.dll: ../src/%.c
$(CC) $(CFLAGS) $(INCLUDE) -o "$*.o" -c "../src/$*.c"
gcc -shared -o "$*.dll" "$*.o" $(prefix)/bin/pd.dll \
- `test -f $*.libs && cat $*.libs` -L/usr/local/lib
+ `test -f $*.libs && cat $*.libs` -L/usr/local/lib \
+ `test -f ../src/$*.libs && cat ../src/$*.libs`
clean:
-rm *.a *.def *.dll *.o