aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcarmen rocco <ix9@users.sourceforge.net>2004-04-22 23:46:41 +0000
committercarmen rocco <ix9@users.sourceforge.net>2004-04-22 23:46:41 +0000
commitac6bbb5832492c86f7b3e0307433c59bf06ed784 (patch)
treebc52890d60609c10fa3465e1e3a3c11e3bba907b /src
parent2927ce68c3528be6f5cc9ded0499a4d2423b3309 (diff)
wtf is a ".dsw" file. any way to build that from cmdline?
svn path=/trunk/externals/zexy/; revision=1626
Diffstat (limited to 'src')
-rwxr-xr-xsrc/makefile.nt30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/makefile.nt b/src/makefile.nt
new file mode 100755
index 0000000..9e20280
--- /dev/null
+++ b/src/makefile.nt
@@ -0,0 +1,30 @@
+all: zexy.dll
+
+SRCS = z_average.c z_connective.c z_coordinates.c z_datetime.c z_dfreq.c z_drip.c z_index.c z_limiter.c z_lp.c z_makesymbol.c z_matrix.c z_msgfile.c z_multiline.c z_multiplex.c z_noise.c z_nop.c z_operating_system.c z_pack.c z_pdf.c z_prime.c z_quantize.c z_random.c z_sfplay.c z_sfrecord.c z_sigaverage.c z_sigbin.c z_sigmatrix.c z_sigpack.c z_sigzero.c z_sort.c z_stat.c z_strings.c z_swap.c z_tabread4.c z_testfun.c z_wrap.c z_zdelay.c
+
+NTOBJETS = $(SRCS:.c=.obj)
+
+NTDLLS = *.dll
+
+PDNTCFLAGS = /DNT /DMSW /DPD /nologo
+
+PDNTINCLUDE = /I. /I..\..\..\src
+
+PDNTLDIR = "c:\program\vc2003\lib"
+
+PDNTLIB = $(PDNTLDIR)\libc.lib \
+ $(PDNTLDIR)\oldnames.lib \
+ $(PDNTLDIR)\wsock32.lib \
+ $(PDNTLDIR)\kernel32.lib \
+ $(PDNTLDIR)\uuid.lib \
+ ..\..\..\bin\pd.lib
+
+.c.obj:
+ cl /c $(PDNTCFLAGS) $(PDNTINCLUDE) $*.c
+
+zexy.dll: $(NTOBJETS)
+ -link /dll /out:zexy.dll $(PDNTLIB) $(NTOBJETS)
+
+clean:
+ del *.obj
+ del *.dll