aboutsummaryrefslogtreecommitdiff
path: root/externals/build/win/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'externals/build/win/makefile')
-rw-r--r--externals/build/win/makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/externals/build/win/makefile b/externals/build/win/makefile
index e6d3c706..94d3212c 100644
--- a/externals/build/win/makefile
+++ b/externals/build/win/makefile
@@ -6,15 +6,15 @@ all: $(EXTERNALS:.c=.dll)
.SUFFIXES: .dll
-CFLAGS = -DPD -DWINDOWS -Wall -W -Wshadow -Wstrict-prototypes \
+CFLAGS = -DPD -DMSW -DNT -Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch
-INCLUDE = -I. -I.. -I../include
+INCLUDE = -I. -I.. -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`
+ `test -f $*.libs && cat $*.libs` -L/usr/local/lib
clean:
-rm *.a *.def *.dll *.o