aboutsummaryrefslogtreecommitdiff
path: root/ViCious/cyclone/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/cyclone/makefile
parent14b05069b61d8d86d52415acb1adea7a61547ac6 (diff)
toxy alpha11
svn path=/trunk/externals/miXed/; revision=1526
Diffstat (limited to 'ViCious/cyclone/makefile')
-rw-r--r--ViCious/cyclone/makefile77
1 files changed, 77 insertions, 0 deletions
diff --git a/ViCious/cyclone/makefile b/ViCious/cyclone/makefile
new file mode 100644
index 0000000..68fc15c
--- /dev/null
+++ b/ViCious/cyclone/makefile
@@ -0,0 +1,77 @@
+current: cyclone
+
+.SUFFIXES: .dll .obj
+
+ROOTDIR = ..\..\..
+SRCDIR = $(ROOTDIR)\miXed\cyclone
+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
+
+cyclone: cyclone.dll hammer.dll sickle.dll dummies.dll cyclist.exe
+ @cd $(ROOTDIR)
+ @$(ZIPCOMMAND) cyclone-$(CYCLONE_SNAPSHOT).zip $(SNAPFILES)
+
+cyclone.dll: $(CYCLONE_OBJECTS)
+ -link /dll /out:$@ $(LIBS) $** /export:$(@:.dll=_setup)
+ -@copy $@ $(EXTDIR)
+ -@move $@ $(BINDIR)
+ -del $(@:.dll=.exp)
+ -del $(@:.dll=.lib)
+
+hammer.dll: $(HAMMER_OBJECTS)
+ -link /dll /out:$@ $(LIBS) $** /export:$(@:.dll=_setup)
+ -@copy $@ $(EXTDIR)
+ -@move $@ $(BINDIR)
+ -del $(@:.dll=.exp)
+ -del $(@:.dll=.lib)
+
+sickle.dll: $(SICKLE_OBJECTS)
+ -link /dll /out:$@ $(LIBS) $** /export:$(@:.dll=_setup)
+ -@copy $@ $(EXTDIR)
+ -@move $@ $(BINDIR)
+ -del $(@:.dll=.exp)
+ -del $(@:.dll=.lib)
+
+dummies.dll: $(DUMMIES_OBJECTS)
+ -link /dll /out:$@ $(LIBS) $** /export:$(@:.dll=_setup)
+ -@copy $@ $(EXTDIR)
+ -@move $@ $(BINDIR)
+ -del $(@:.dll=.exp)
+ -del $(@:.dll=.lib)
+
+cyclist.exe: $(SHAREDDIR)\common\binport.c
+ -del /S $(SHAREDDIR)\common\binport.obj
+ -cl $(CFLAGS) $(INCLUDES) /DBINPORT_STANDALONE /o $@ \
+ $(VCLIBDIR)\libc.lib $(SHAREDDIR)\common\binport.c
+ -@move $@ $(BINDIR)
+ -del /S binport.obj
+
+.c.obj: ; cl /c $(CFLAGS) $(INCLUDES) /Fo$*.obj $*.c
+
+clean:
+ for %1 in (hammer shadow sickle) \
+ do del %1\*.obj
+ for %1 in (hammer shadow sickle) \
+ do del %1\*.exp
+ for %1 in (hammer shadow sickle) \
+ do del %1\*.lib
+ for %1 in (hammer shadow sickle) \
+ do del %1\*.dll