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/makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/externals/build/win/makefile b/externals/build/win/makefile
index a8de3fbb..ce887e02 100644
--- a/externals/build/win/makefile
+++ b/externals/build/win/makefile
@@ -13,15 +13,18 @@ all: filelist.inc link.stamp $(EXTERNALS:.c=.dll)
PDNTCFLAGS = /W3 /WX /DNT /DPD /nologo
VC="C:\Program Files\Microsoft Visual Studio\Vc98"
SRCPATH=..\src
+PDPATH=..\..\..\pd
-PDNTINCLUDE = /I. /I.. /I..\..\..\pd\src /I$(VC)\include
+PDNTINCLUDE = /I. /I.. /I..\..\..\pd\src /I$(VC)\include /I..\..\creb\include
PDNTLDIR = $(VC)\lib
PDNTLIB = $(PDNTLDIR)\libc.lib \
$(PDNTLDIR)\oldnames.lib \
$(PDNTLDIR)\kernel32.lib \
- $(PDNTLDIR)\wsock32.lib \
- ..\..\..\pd\bin\pd.lib
+ $(PDNTLDIR)\uuid.lib \
+ $(PDNTLDIR)\ws2_32.lib \
+ $(PDPATH)\bin\pthreadVC.lib \
+ $(PDPATH)\bin\pd.lib
.c.dll:
cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c
@@ -35,7 +38,7 @@ filelist.inc:
transfer:
copy $(SRCPATH)\*.c .
-
+
link.stamp: filelist.inc
copy $(SRCPATH)\*.c .
copy /y nul link.stamp
@@ -45,7 +48,7 @@ clean:
# don't delete filelist.inc at the moment, as some externals can't be compiled
# on win32
-del link.stamp
- -del *.c
+ -del *.c
-del *.obj
-del *.lib
-del *.exp