blob: 68fc15ca88fc0dc8a57ea4d845043b11ce108dad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
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
|