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/makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/externals/build/win/makefile b/externals/build/win/makefile
new file mode 100644
index 00000000..b2441158
--- /dev/null
+++ b/externals/build/win/makefile
@@ -0,0 +1,22 @@
+# ----------------------- NT -----------------------
+
+pd_nt: $(NAME).dll
+
+.SUFFIXES: .dll
+
+PDNTCFLAGS = /W3 /WX /DNT /DPD /nologo
+VC="C:\Program Files\Microsoft Visual Studio\Vc98"
+
+PDNTINCLUDE = /I. /I\tcl\include /I\ftp\pd\src /I$(VC)\include
+
+PDNTLDIR = $(VC)\lib
+PDNTLIB = $(PDNTLDIR)\libc.lib \
+ $(PDNTLDIR)\oldnames.lib \
+ $(PDNTLDIR)\kernel32.lib \
+ \ftp\pd\bin\pd.lib
+
+.c.dll:
+ cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c
+ link /dll /export:$(CSYM)_setup $*.obj $(PDNTLIB)
+
+