-
Notifications
You must be signed in to change notification settings - Fork 0
/
Win16MDI.mak
127 lines (102 loc) · 2.66 KB
/
Win16MDI.mak
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# Microsoft Visual C++ generated build script - Do not modify
PROJ = WIN16MDI
DEBUG = 0
PROGTYPE = 0
CALLER =
ARGS =
DLLS =
D_RCDEFINES = /d_DEBUG
R_RCDEFINES = /dNDEBUG
ORIGIN = MSVC
ORIGIN_VER = 1.00
PROJPATH = UNKNOWN
USEMFC = 0
CC = cl
CPP = cl
CXX = cl
CCREATEPCHFLAG =
CPPCREATEPCHFLAG =
CUSEPCHFLAG =
CPPUSEPCHFLAG =
FIRSTC = ABOUTDLG.C
FIRSTCPP =
RC = rc
CFLAGS_D_WEXE = /nologo /W3 /Gf /Zi /Od /D "WINVER"="0x0300" /D "_DEBUG" /FR /GA /GEs /GEm /Fd"WIN16MDI.PDB"
CFLAGS_R_WEXE = /nologo /W3 /Gf /O1 /D "WINVER"="0x0300" /D "NDEBUG" /FR /GA /GEs /GEm
LFLAGS_D_WEXE = /NOLOGO /NOD /PACKC:61440 /ALIGN:16 /ONERROR:NOEXE /CO
LFLAGS_R_WEXE = /NOLOGO /NOD /PACKC:61440 /ALIGN:16 /ONERROR:NOEXE
LIBS_D_WEXE = oldnames libw slibcew commdlg.lib olecli.lib olesvr.lib shell.lib
LIBS_R_WEXE = oldnames libw slibcew commdlg.lib olecli.lib olesvr.lib shell.lib
RCFLAGS = /nologo
RESFLAGS = /nologo /30
RUNFLAGS =
DEFFILE = WIN16MDI.DEF
OBJS_EXT =
LIBS_EXT =
!if "$(DEBUG)" == "1"
CFLAGS = $(CFLAGS_D_WEXE)
LFLAGS = $(LFLAGS_D_WEXE)
LIBS = $(LIBS_D_WEXE)
MAPFILE = nul
RCDEFINES = $(D_RCDEFINES)
!else
CFLAGS = $(CFLAGS_R_WEXE)
LFLAGS = $(LFLAGS_R_WEXE)
LIBS = $(LIBS_R_WEXE)
MAPFILE = nul
RCDEFINES = $(R_RCDEFINES)
!endif
!if [if exist MSVC.BND del MSVC.BND]
!endif
SBRS = ABOUTDLG.SBR \
MAINWND.SBR \
WINMAIN.SBR \
MDICHWND.SBR
ABOUTDLG_DEP = aboutdlg.h \
globals.h
MAINWND_DEP = aboutdlg.h \
globals.h \
mainwnd.h \
mdichwnd.h
RESOURCE_RCDEP = app.ico
WINMAIN_DEP = globals.h \
mainwnd.h \
mdichwnd.h
MDICHWND_DEP = globals.h \
mainwnd.h \
mdichwnd.h
all: $(PROJ).EXE $(PROJ).BSC
ABOUTDLG.OBJ: ABOUTDLG.C $(ABOUTDLG_DEP)
$(CC) $(CFLAGS) $(CCREATEPCHFLAG) /c ABOUTDLG.C
MAINWND.OBJ: MAINWND.C $(MAINWND_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c MAINWND.C
RESOURCE.RES: RESOURCE.RC $(RESOURCE_RCDEP)
$(RC) $(RCFLAGS) $(RCDEFINES) -r RESOURCE.RC
WINMAIN.OBJ: WINMAIN.C $(WINMAIN_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c WINMAIN.C
MDICHWND.OBJ: MDICHWND.C $(MDICHWND_DEP)
$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c MDICHWND.C
$(PROJ).EXE:: RESOURCE.RES
$(PROJ).EXE:: ABOUTDLG.OBJ MAINWND.OBJ WINMAIN.OBJ MDICHWND.OBJ $(OBJS_EXT) $(DEFFILE)
echo >NUL @<<$(PROJ).CRF
ABOUTDLG.OBJ +
MAINWND.OBJ +
WINMAIN.OBJ +
MDICHWND.OBJ +
$(OBJS_EXT)
$(PROJ).EXE
$(MAPFILE)
$(LIBS)
$(DEFFILE);
<<
link $(LFLAGS) @$(PROJ).CRF
$(RC) $(RESFLAGS) RESOURCE.RES $@
@copy $(PROJ).CRF MSVC.BND
$(PROJ).EXE:: RESOURCE.RES
if not exist MSVC.BND $(RC) $(RESFLAGS) RESOURCE.RES $@
run: $(PROJ).EXE
$(PROJ) $(RUNFLAGS)
$(PROJ).BSC: $(SBRS)
bscmake @<<
/o$@ $(SBRS)
<<