aboutsummaryrefslogtreecommitdiff
path: root/pd/extra/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pd/extra/makefile')
-rw-r--r--pd/extra/makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/pd/extra/makefile b/pd/extra/makefile
index 56e59bed..944475a1 100644
--- a/pd/extra/makefile
+++ b/pd/extra/makefile
@@ -7,19 +7,21 @@ pd_nt: $(NAME).dll
.SUFFIXES: .dll
PDNTCFLAGS = /W3 /WX /DNT /DPD /nologo
-VC="C:\Program Files\Microsoft Visual Studio\Vc98"
+# VC="C:\Program Files\Microsoft Visual Studio\Vc98"
+VC = "C:\Program Files\Microsoft Visual Studio 9.0\VC"
+VSTK = "C:\Program Files\Microsoft SDKs\Windows\v6.0A"
PDNTINCLUDE = /I. /I..\..\src /I$(VC)\include
PDNTLDIR = $(VC)\lib
-PDNTLIB = $(PDNTLDIR)\libc.lib \
- $(PDNTLDIR)\oldnames.lib \
- $(PDNTLDIR)\kernel32.lib \
- ..\..\bin\pd.lib
+PDNTLIB = /NODEFAULTLIB:libcmt /NODEFAULTLIB:oldnames /NODEFAULTLIB:kernel32 \
+ $(PDNTLDIR)\libcmt.lib $(PDNTLDIR)\oldnames.lib \
+ $(VSTK)\lib\kernel32.lib \
+ ..\..\bin\pd.lib
.c.dll:
cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c
- link /dll /export:$(CSYM)_setup $*.obj $(PDNTLIB)
+ link /nologo /dll /export:$(CSYM)_setup $*.obj $(PDNTLIB)
# ----------------------- IRIX 5.x -----------------------