File: makefile.win

package info (click to toggle)
astrolog 5.40-2
  • links: PTS
  • area: non-free
  • in suites: sarge
  • size: 1,524 kB
  • ctags: 2,155
  • sloc: ansic: 20,628; perl: 313; makefile: 59
file content (208 lines) | stat: -rw-r--r-- 4,774 bytes parent folder | download | duplicates (4)
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# Microsoft Visual C++ generated build script - Do not modify

PROJ = ASTROLOG
DEBUG = 0
PROGTYPE = 0
CALLER = 
ARGS = 
DLLS = 
D_RCDEFINES = /d_DEBUG 
R_RCDEFINES = /dNDEBUG 
ORIGIN = MSVC
ORIGIN_VER = 1.00
PROJPATH = C:\AST\
USEMFC = 0
CC = cl
CPP = cl
CXX = cl
CCREATEPCHFLAG = 
CPPCREATEPCHFLAG = 
CUSEPCHFLAG = 
CPPUSEPCHFLAG = 
FIRSTC = ASTROLOG.C  
FIRSTCPP =             
RC = rc
CFLAGS_D_WEXE = /nologo /G2 /W3 /Zi /AL /Gt50 /Gx- /Od /D "_DEBUG" /FR /GA /Fd"ASTROLOG.PDB"
CFLAGS_R_WEXE = /nologo /W3 /Gf /AL /Gt50 /Gx- /O2 /D "NDEBUG" /FR /GA 
LFLAGS_D_WEXE = /NOLOGO /NOD /PACKC:61440 /STACK:11264 /ALIGN:16 /ONERROR:NOEXE /CO  
LFLAGS_R_WEXE = /NOLOGO /NOD /PACKC:61440 /STACK:11264 /ALIGN:16 /ONERROR:NOEXE  
LIBS_D_WEXE = oldnames libw llibcew commdlg.lib olecli.lib olesvr.lib shell.lib 
LIBS_R_WEXE = oldnames libw llibcew commdlg.lib olecli.lib olesvr.lib shell.lib 
RCFLAGS = /nologo 
RESFLAGS = /nologo /k
RUNFLAGS = 
DEFFILE = ASTROLOG.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 = ASTROLOG.SBR \
		CALC.SBR \
		CHARTS0.SBR \
		CHARTS1.SBR \
		CHARTS2.SBR \
		CHARTS3.SBR \
		DATA.SBR \
		DATA2.SBR \
		GENERAL.SBR \
		INTRPRET.SBR \
		IO.SBR \
		MATRIX.SBR \
		PLACALC.SBR \
		PLACALC2.SBR \
		WDIALOG.SBR \
		WDRIVER.SBR \
		XCHARTS0.SBR \
		XCHARTS1.SBR \
		XCHARTS2.SBR \
		XDATA.SBR \
		XDEVICE.SBR \
		XGENERAL.SBR \
		XSCREEN.SBR


ASTROLOG_RCDEP = c:\ast\astrlog2.ico \
	c:\ast\astrlog3.ico


all:	$(PROJ).EXE $(PROJ).BSC

ASTROLOG.OBJ:	ASTROLOG.C $(ASTROLOG_DEP)
	$(CC) $(CFLAGS) $(CCREATEPCHFLAG) /c ASTROLOG.C

CALC.OBJ:	CALC.C $(CALC_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c CALC.C

CHARTS0.OBJ:	CHARTS0.C $(CHARTS0_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c CHARTS0.C

CHARTS1.OBJ:	CHARTS1.C $(CHARTS1_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c CHARTS1.C

CHARTS2.OBJ:	CHARTS2.C $(CHARTS2_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c CHARTS2.C

CHARTS3.OBJ:	CHARTS3.C $(CHARTS3_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c CHARTS3.C

DATA.OBJ:	DATA.C $(DATA_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c DATA.C

DATA2.OBJ:	DATA2.C $(DATA2_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c DATA2.C

GENERAL.OBJ:	GENERAL.C $(GENERAL_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c GENERAL.C

INTRPRET.OBJ:	INTRPRET.C $(INTRPRET_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c INTRPRET.C

IO.OBJ:	IO.C $(IO_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c IO.C

MATRIX.OBJ:	MATRIX.C $(MATRIX_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c MATRIX.C

PLACALC.OBJ:	PLACALC.C $(PLACALC_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c PLACALC.C

PLACALC2.OBJ:	PLACALC2.C $(PLACALC2_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c PLACALC2.C

WDIALOG.OBJ:	WDIALOG.C $(WDIALOG_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c WDIALOG.C

WDRIVER.OBJ:	WDRIVER.C $(WDRIVER_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c WDRIVER.C

XCHARTS0.OBJ:	XCHARTS0.C $(XCHARTS0_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c XCHARTS0.C

XCHARTS1.OBJ:	XCHARTS1.C $(XCHARTS1_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c XCHARTS1.C

XCHARTS2.OBJ:	XCHARTS2.C $(XCHARTS2_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c XCHARTS2.C

XDATA.OBJ:	XDATA.C $(XDATA_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c XDATA.C

XDEVICE.OBJ:	XDEVICE.C $(XDEVICE_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c XDEVICE.C

XGENERAL.OBJ:	XGENERAL.C $(XGENERAL_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c XGENERAL.C

XSCREEN.OBJ:	XSCREEN.C $(XSCREEN_DEP)
	$(CC) $(CFLAGS) $(CUSEPCHFLAG) /c XSCREEN.C

ASTROLOG.RES:	ASTROLOG.RC $(ASTROLOG_RCDEP)
	$(RC) $(RCFLAGS) $(RCDEFINES) -r ASTROLOG.RC


$(PROJ).EXE::	ASTROLOG.RES

$(PROJ).EXE::	ASTROLOG.OBJ CALC.OBJ CHARTS0.OBJ CHARTS1.OBJ CHARTS2.OBJ CHARTS3.OBJ \
	DATA.OBJ DATA2.OBJ GENERAL.OBJ INTRPRET.OBJ IO.OBJ MATRIX.OBJ PLACALC.OBJ PLACALC2.OBJ \
	WDIALOG.OBJ WDRIVER.OBJ XCHARTS0.OBJ XCHARTS1.OBJ XCHARTS2.OBJ XDATA.OBJ XDEVICE.OBJ \
	XGENERAL.OBJ XSCREEN.OBJ $(OBJS_EXT) $(DEFFILE)
	echo >NUL @<<$(PROJ).CRF
ASTROLOG.OBJ +
CALC.OBJ +
CHARTS0.OBJ +
CHARTS1.OBJ +
CHARTS2.OBJ +
CHARTS3.OBJ +
DATA.OBJ +
DATA2.OBJ +
GENERAL.OBJ +
INTRPRET.OBJ +
IO.OBJ +
MATRIX.OBJ +
PLACALC.OBJ +
PLACALC2.OBJ +
WDIALOG.OBJ +
WDRIVER.OBJ +
XCHARTS0.OBJ +
XCHARTS1.OBJ +
XCHARTS2.OBJ +
XDATA.OBJ +
XDEVICE.OBJ +
XGENERAL.OBJ +
XSCREEN.OBJ +
$(OBJS_EXT)
$(PROJ).EXE
$(MAPFILE)
c:\vc\lib\+
c:\vc\mfc\lib\+
$(LIBS)
$(DEFFILE);
<<
	link $(LFLAGS) @$(PROJ).CRF
	$(RC) $(RESFLAGS) ASTROLOG.RES $@
	@copy $(PROJ).CRF MSVC.BND

$(PROJ).EXE::	ASTROLOG.RES
	if not exist MSVC.BND 	$(RC) $(RESFLAGS) ASTROLOG.RES $@

run: $(PROJ).EXE
	$(PROJ) $(RUNFLAGS)


$(PROJ).BSC: $(SBRS)
	bscmake @<<
/o$@ $(SBRS)
<<