aboutsummaryrefslogtreecommitdiff
path: root/ViCious/toxy/makefile
diff options
context:
space:
mode:
authorN.N. <krzyszcz@users.sourceforge.net>2004-03-31 10:24:20 +0000
committerN.N. <krzyszcz@users.sourceforge.net>2004-03-31 10:24:20 +0000
commitdbd3ec671dec8ea39032d3b0b56387df40c66c28 (patch)
tree6ad4c4d87e05b8babf1d78a1303de508ce5d1cdf /ViCious/toxy/makefile
parent14b05069b61d8d86d52415acb1adea7a61547ac6 (diff)
toxy alpha11
svn path=/trunk/externals/miXed/; revision=1526
Diffstat (limited to 'ViCious/toxy/makefile')
-rw-r--r--ViCious/toxy/makefile59
1 files changed, 59 insertions, 0 deletions
diff --git a/ViCious/toxy/makefile b/ViCious/toxy/makefile
new file mode 100644
index 0000000..cf55984
--- /dev/null
+++ b/ViCious/toxy/makefile
@@ -0,0 +1,59 @@
+current: toxy
+
+.SUFFIXES: .dll .obj
+
+ROOTDIR = ..\..\..
+SRCDIR = $(ROOTDIR)\miXed\toxy
+BINDIR = $(ROOTDIR)\miXed\bin
+SHAREDDIR = $(ROOTDIR)\miXed\shared
+EXTDIR = e:\PureData\externals
+PDDIR = e:\PureData\pd
+VCLIBDIR = "e:\Program Files\Microsoft Visual Studio\Vc98\lib"
+ZIPCOMMAND = d:\dosowe\arc\info-zip\zip
+
+INCLUDES = /I. /I$(SHAREDDIR) /I$(PDDIR)\src
+CFLAGS = /W3 /WX /DNT /DPD /nologo
+
+LIBS = $(VCLIBDIR)\libc.lib \
+ $(VCLIBDIR)\oldnames.lib \
+ $(VCLIBDIR)\wsock32.lib \
+ $(VCLIBDIR)\kernel32.lib \
+ $(VCLIBDIR)\uuid.lib \
+ $(PDDIR)\bin\pd.lib
+
+!INCLUDE objects
+!INCLUDE snapfiles
+!INCLUDE $(SRCDIR)\build_counter
+
+toxy: tot.dll tow.dll widget.dll
+ @cd $(ROOTDIR)
+ @$(ZIPCOMMAND) toxy-$(TOXY_SNAPSHOT).zip $(SNAPFILES)
+
+tot.dll: $(TOT_OBJECTS)
+ -link /dll /out:$@ $(LIBS) $** /export:$(@:.dll=_setup)
+ -@copy $@ $(EXTDIR)
+ -@move $@ $(BINDIR)
+ -del $(@:.dll=.exp)
+ -del $(@:.dll=.lib)
+
+tow.dll: $(TOW_OBJECTS)
+ -link /dll /out:$@ $(LIBS) $** /export:$(@:.dll=_setup)
+ -@copy $@ $(EXTDIR)
+ -@move $@ $(BINDIR)
+ -del $(@:.dll=.exp)
+ -del $(@:.dll=.lib)
+
+widget.dll: $(WIDGET_OBJECTS)
+ -link /dll /out:$@ $(LIBS) $** /export:$(@:.dll=_setup)
+ -@copy $@ $(EXTDIR)
+ -@move $@ $(BINDIR)
+ -del $(@:.dll=.exp)
+ -del $(@:.dll=.lib)
+
+.c.obj: ; cl /c $(CFLAGS) $(INCLUDES) /Fo$*.obj $*.c
+
+clean:
+ del *.obj
+ del *.exp
+ del *.lib
+ del *.dll