]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # File: makefile.dos | |
3 | # Author: Julian Smart | |
4 | # Created: 1993 | |
5 | # Updated: | |
6 | # Copyright: (c) 1993, AIAI, University of Edinburgh | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile : Builds samples for Win95, MSVC++ 16-bit | |
11 | # Use FINAL=1 argument to nmake to build final version with no debugging | |
12 | # info | |
13 | ||
14 | # Set WXDIR for your system | |
15 | WXDIR = $(WXWIN) | |
16 | ||
17 | THISDIR=$(WXDIR)\samples | |
18 | ||
19 | # | |
20 | # Indicates kind of pb with samples | |
21 | # | |
22 | # No makefile.dos file | |
23 | NOMAKE=1 | |
24 | # No 16 bit version | |
25 | ONLY32=1 | |
26 | # Misc. compilation errors | |
27 | COMPIL=1 | |
28 | ||
29 | !include $(WXDIR)\src\makemsc.env | |
30 | ||
31 | # | |
32 | # Please keep samples list up-to-date, in alphabetical order | |
33 | # | |
34 | all: | |
35 | cd $(WXDIR)\samples\bombs | |
36 | nmake -f makefile.dos FINAL=$(FINAL) | |
37 | cd $(WXDIR)\samples\caret | |
38 | nmake -f makefile.dos FINAL=$(FINAL) | |
39 | cd $(WXDIR)\samples\checklst | |
40 | nmake -f makefile.dos FINAL=$(FINAL) | |
41 | cd $(WXDIR)\samples\config | |
42 | nmake -f makefile.dos FINAL=$(FINAL) | |
43 | cd $(WXDIR)\samples\controls | |
44 | nmake -f makefile.dos FINAL=$(FINAL) | |
45 | !if "$(COMPIL)"=="" | |
46 | cd $(WXDIR)\samples\db | |
47 | nmake -f makefile.dos FINAL=$(FINAL) | |
48 | !endif | |
49 | cd $(WXDIR)\samples\dde | |
50 | nmake -f makefile.dos FINAL=$(FINAL) | |
51 | cd $(WXDIR)\samples\dialogs | |
52 | nmake -f makefile.dos FINAL=$(FINAL) | |
53 | !if "$(ONLY32)"=="" | |
54 | cd $(WXDIR)\samples\dnd | |
55 | nmake -f makefile.dos FINAL=$(FINAL) | |
56 | !endif | |
57 | cd $(WXDIR)\samples\docview | |
58 | nmake -f makefile.dos FINAL=$(FINAL) | |
59 | cd $(WXDIR)\samples\docvwmdi | |
60 | nmake -f makefile.dos FINAL=$(FINAL) | |
61 | cd $(WXDIR)\samples\drawing | |
62 | nmake -f makefile.dos FINAL=$(FINAL) | |
63 | cd $(WXDIR)\samples\dynamic | |
64 | nmake -f makefile.dos FINAL=$(FINAL) | |
65 | cd $(WXDIR)\samples\forty | |
66 | nmake -f makefile.dos FINAL=$(FINAL) | |
67 | cd $(WXDIR)\samples\fractal | |
68 | nmake -f makefile.dos FINAL=$(FINAL) | |
69 | cd $(WXDIR)\samples\grid | |
70 | nmake -f makefile.dos FINAL=$(FINAL) | |
71 | !if "$(NOMAKE)"=="" | |
72 | cd $(WXDIR)\samples\help | |
73 | nmake -f makefile.dos FINAL=$(FINAL) | |
74 | cd $(WXDIR)\samples\html | |
75 | nmake -f makefile.dos FINAL=$(FINAL) | |
76 | !endif | |
77 | cd $(WXDIR)\samples\image | |
78 | nmake -f makefile.dos FINAL=$(FINAL) | |
79 | cd $(WXDIR)\samples\internat | |
80 | nmake -f makefile.dos FINAL=$(FINAL) | |
81 | cd $(WXDIR)\samples\joytest | |
82 | nmake -f makefile.dos FINAL=$(FINAL) | |
83 | cd $(WXDIR)\samples\layout | |
84 | nmake -f makefile.dos FINAL=$(FINAL) | |
85 | cd $(WXDIR)\samples\listctrl | |
86 | nmake -f makefile.dos FINAL=$(FINAL) | |
87 | cd $(WXDIR)\samples\mdi | |
88 | nmake -f makefile.dos FINAL=$(FINAL) | |
89 | !if "$(FINAL)" == "0" | |
90 | cd $(WXDIR)\samples\memcheck | |
91 | nmake -f makefile.dos FINAL=$(FINAL) | |
92 | !endif | |
93 | !if "$(COMPIL)"=="" | |
94 | cd $(WXDIR)\samples\mfc | |
95 | nmake -f makefile.dos FINAL=$(FINAL) | |
96 | !endif | |
97 | cd $(WXDIR)\samples\minifram | |
98 | nmake -f makefile.dos FINAL=$(FINAL) | |
99 | cd $(WXDIR)\samples\minimal | |
100 | nmake -f makefile.dos FINAL=$(FINAL) | |
101 | !if "$(ONLY32)"=="" | |
102 | cd $(WXDIR)\samples\nativdlg | |
103 | nmake -f makefile.dos FINAL=$(FINAL) | |
104 | !endif | |
105 | cd $(WXDIR)\samples\notebook | |
106 | nmake -f makefile.dos FINAL=$(FINAL) | |
107 | !if "$(NOMAKE)"=="" | |
108 | cd $(WXDIR)\samples\oleauto | |
109 | nmake -f makefile.dos FINAL=$(FINAL) | |
110 | !endif | |
111 | cd $(WXDIR)\samples\ownerdrw | |
112 | nmake -f makefile.dos FINAL=$(FINAL) | |
113 | !if "$(NOMAKE)"=="" | |
114 | cd $(WXDIR)\samples\png | |
115 | nmake -f makefile.dos FINAL=$(FINAL) | |
116 | !endif | |
117 | cd $(WXDIR)\samples\printing | |
118 | nmake -f makefile.dos FINAL=$(FINAL) | |
119 | cd $(WXDIR)\samples\proplist | |
120 | nmake -f makefile.dos FINAL=$(FINAL) | |
121 | !if "$(NOMAKE)"=="" | |
122 | cd $(WXDIR)\samples\regtest | |
123 | nmake -f makefile.dos FINAL=$(FINAL) | |
124 | !endif | |
125 | cd $(WXDIR)\samples\resource | |
126 | nmake -f makefile.dos FINAL=$(FINAL) | |
127 | !if "$(NOMAKE)"=="" | |
128 | cd $(WXDIR)\samples\richedit | |
129 | nmake -f makefile.dos FINAL=$(FINAL) | |
130 | cd $(WXDIR)\samples\sashtest | |
131 | nmake -f makefile.dos FINAL=$(FINAL) | |
132 | !endif | |
133 | cd $(WXDIR)\samples\scroll | |
134 | nmake -f makefile.dos FINAL=$(FINAL) | |
135 | cd $(WXDIR)\samples\splitter | |
136 | nmake -f makefile.dos FINAL=$(FINAL) | |
137 | !if "$(COMPIL)"=="" | |
138 | cd $(WXDIR)\samples\tab | |
139 | nmake -f makefile.dos FINAL=$(FINAL) | |
140 | cd $(WXDIR)\samples\taskbar | |
141 | nmake -f makefile.dos FINAL=$(FINAL) | |
142 | !endif | |
143 | cd $(WXDIR)\samples\text | |
144 | nmake -f makefile.dos FINAL=$(FINAL) | |
145 | !if "$(ONLY32)"=="" | |
146 | cd $(WXDIR)\samples\thread | |
147 | nmake -f makefile.dos FINAL=$(FINAL) | |
148 | !endif | |
149 | cd $(WXDIR)\samples\toolbar | |
150 | nmake -f makefile.dos FINAL=$(FINAL) | |
151 | cd $(WXDIR)\samples\treectrl | |
152 | nmake -f makefile.dos FINAL=$(FINAL) | |
153 | !if "$(COMPIL)"=="" | |
154 | cd $(WXDIR)\samples\typetest | |
155 | nmake -f makefile.dos FINAL=$(FINAL) | |
156 | !endif | |
157 | cd $(WXDIR)\samples\validate | |
158 | nmake -f makefile.dos FINAL=$(FINAL) | |
159 | !if "$(NOMAKE)"=="" | |
160 | cd $(WXDIR)\samples\wizard | |
161 | nmake -f makefile.dos FINAL=$(FINAL) | |
162 | !endif | |
163 | cd $(WXDIR)\samples\wxpoem | |
164 | nmake -f makefile.dos FINAL=$(FINAL) | |
165 | !if "$(COMPIL)"=="" | |
166 | cd $(WXDIR)\samples\wxsocket | |
167 | nmake -f makefile.dos FINAL=$(FINAL) | |
168 | !endif | |
169 | clean: | |
170 | cd $(WXDIR)\samples\bombs | |
171 | nmake -f makefile.dos clean | |
172 | cd $(WXDIR)\samples\caret | |
173 | nmake -f makefile.dos clean | |
174 | cd $(WXDIR)\samples\checklst | |
175 | nmake -f makefile.dos clean | |
176 | cd $(WXDIR)\samples\config | |
177 | nmake -f makefile.dos clean | |
178 | cd $(WXDIR)\samples\controls | |
179 | nmake -f makefile.dos clean | |
180 | cd $(WXDIR)\samples\db | |
181 | nmake -f makefile.dos clean | |
182 | cd $(WXDIR)\samples\dde | |
183 | nmake -f makefile.dos clean | |
184 | cd $(WXDIR)\samples\dialogs | |
185 | nmake -f makefile.dos clean | |
186 | cd $(WXDIR)\samples\dnd | |
187 | nmake -f makefile.dos clean | |
188 | cd $(WXDIR)\samples\docview | |
189 | nmake -f makefile.dos clean | |
190 | cd $(WXDIR)\samples\docvwmdi | |
191 | nmake -f makefile.dos clean | |
192 | cd $(WXDIR)\samples\drawing | |
193 | nmake -f makefile.dos clean | |
194 | cd $(WXDIR)\samples\dynamic | |
195 | nmake -f makefile.dos clean | |
196 | cd $(WXDIR)\samples\forty | |
197 | nmake -f makefile.dos clean | |
198 | cd $(WXDIR)\samples\fractal | |
199 | nmake -f makefile.dos clean | |
200 | cd $(WXDIR)\samples\grid | |
201 | nmake -f makefile.dos clean | |
202 | !if "$(NOMAKE)"=="" | |
203 | cd $(WXDIR)\samples\help | |
204 | nmake -f makefile.dos clean | |
205 | cd $(WXDIR)\samples\html | |
206 | nmake -f makefile.dos clean | |
207 | !endif | |
208 | cd $(WXDIR)\samples\image | |
209 | nmake -f makefile.dos clean | |
210 | cd $(WXDIR)\samples\internat | |
211 | nmake -f makefile.dos clean | |
212 | cd $(WXDIR)\samples\joytest | |
213 | nmake -f makefile.dos clean | |
214 | cd $(WXDIR)\samples\layout | |
215 | nmake -f makefile.dos clean | |
216 | cd $(WXDIR)\samples\listctrl | |
217 | nmake -f makefile.dos clean | |
218 | cd $(WXDIR)\samples\mdi | |
219 | nmake -f makefile.dos clean | |
220 | !if "$(FINAL)" == "0" | |
221 | cd $(WXDIR)\samples\memcheck | |
222 | nmake -f makefile.dos clean | |
223 | !endif | |
224 | cd $(WXDIR)\samples\mfc | |
225 | nmake -f makefile.dos clean | |
226 | cd $(WXDIR)\samples\minifram | |
227 | nmake -f makefile.dos clean | |
228 | cd $(WXDIR)\samples\minimal | |
229 | nmake -f makefile.dos clean | |
230 | cd $(WXDIR)\samples\nativdlg | |
231 | nmake -f makefile.dos clean | |
232 | cd $(WXDIR)\samples\notebook | |
233 | nmake -f makefile.dos clean | |
234 | !if "$(NOMAKE)"=="" | |
235 | cd $(WXDIR)\samples\oleauto | |
236 | nmake -f makefile.dos clean | |
237 | !endif | |
238 | cd $(WXDIR)\samples\ownerdrw | |
239 | nmake -f makefile.dos clean | |
240 | !if "$(NOMAKE)"=="" | |
241 | cd $(WXDIR)\samples\png | |
242 | nmake -f makefile.dos clean | |
243 | !endif | |
244 | cd $(WXDIR)\samples\printing | |
245 | nmake -f makefile.dos clean | |
246 | cd $(WXDIR)\samples\proplist | |
247 | nmake -f makefile.dos clean | |
248 | !if "$(NOMAKE)"=="" | |
249 | cd $(WXDIR)\samples\regtest | |
250 | nmake -f makefile.dos clean | |
251 | !endif | |
252 | cd $(WXDIR)\samples\resource | |
253 | nmake -f makefile.dos clean | |
254 | !if "$(NOMAKE)"=="" | |
255 | cd $(WXDIR)\samples\richedit | |
256 | nmake -f makefile.dos clean | |
257 | cd $(WXDIR)\samples\sashtest | |
258 | nmake -f makefile.dos clean | |
259 | !endif | |
260 | cd $(WXDIR)\samples\scroll | |
261 | nmake -f makefile.dos clean | |
262 | cd $(WXDIR)\samples\splitter | |
263 | nmake -f makefile.dos clean | |
264 | cd $(WXDIR)\samples\tab | |
265 | nmake -f makefile.dos clean | |
266 | cd $(WXDIR)\samples\taskbar | |
267 | nmake -f makefile.dos clean | |
268 | cd $(WXDIR)\samples\text | |
269 | nmake -f makefile.dos clean | |
270 | cd $(WXDIR)\samples\thread | |
271 | nmake -f makefile.dos clean | |
272 | cd $(WXDIR)\samples\toolbar | |
273 | nmake -f makefile.dos clean | |
274 | cd $(WXDIR)\samples\treectrl | |
275 | nmake -f makefile.dos clean | |
276 | cd $(WXDIR)\samples\typetest | |
277 | nmake -f makefile.dos clean | |
278 | cd $(WXDIR)\samples\validate | |
279 | nmake -f makefile.dos clean | |
280 | !if "$(NOMAKE)"=="" | |
281 | cd $(WXDIR)\samples\wizard | |
282 | nmake -f makefile.dos clean | |
283 | !endif | |
284 | cd $(WXDIR)\samples\wxpoem | |
285 | nmake -f makefile.dos clean | |
286 | cd $(WXDIR)\samples\wxsocket | |
287 | nmake -f makefile.dos clean | |
288 |