Commit | Line | Data |
---|---|---|
fed485e0 JS |
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 | ||
3372145d PA |
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 | # PNG unresolved | |
27 | PNGSETUP=1 | |
28 | # DND not set in setup.h | |
29 | DNDSETUP=1 | |
30 | # Misc. compilation errors | |
31 | COMPIL=1 | |
32 | ||
fed485e0 JS |
33 | !include $(WXDIR)\src\makemsc.env |
34 | ||
3372145d PA |
35 | # |
36 | # Please keep samples list up-to-date, in alphabetical order | |
37 | # | |
fed485e0 | 38 | all: |
3372145d | 39 | cd $(WXDIR)\samples\bombs |
fed485e0 | 40 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
41 | cd $(WXDIR)\samples\caret |
42 | nmake -f makefile.dos FINAL=$(FINAL) | |
43 | cd $(WXDIR)\samples\checklst | |
44 | nmake -f makefile.dos FINAL=$(FINAL) | |
45 | cd $(WXDIR)\samples\config | |
fed485e0 JS |
46 | nmake -f makefile.dos FINAL=$(FINAL) |
47 | cd $(WXDIR)\samples\controls | |
48 | nmake -f makefile.dos FINAL=$(FINAL) | |
3372145d PA |
49 | !if "$(COMPIL)"=="" |
50 | cd $(WXDIR)\samples\db | |
fed485e0 | 51 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
52 | !endif |
53 | cd $(WXDIR)\samples\dde | |
fed485e0 | 54 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 55 | cd $(WXDIR)\samples\dialogs |
fed485e0 | 56 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
57 | !if "$(DNDSETUP)"=="" |
58 | cd $(WXDIR)\samples\dnd | |
fed485e0 | 59 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
60 | !endif |
61 | cd $(WXDIR)\samples\docview | |
fed485e0 | 62 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 63 | cd $(WXDIR)\samples\docvwmdi |
fed485e0 | 64 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 65 | cd $(WXDIR)\samples\drawing |
fed485e0 | 66 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 67 | cd $(WXDIR)\samples\dynamic |
fed485e0 | 68 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 69 | cd $(WXDIR)\samples\forty |
fed485e0 | 70 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 71 | cd $(WXDIR)\samples\fractal |
fed485e0 | 72 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 73 | cd $(WXDIR)\samples\grid |
fed485e0 | 74 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
75 | !if "$(NOMAKE)"=="" |
76 | cd $(WXDIR)\samples\help | |
fed485e0 | 77 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 78 | cd $(WXDIR)\samples\html |
fed485e0 | 79 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
80 | !endif |
81 | !if "$(PNGSETUP)"=="" | |
82 | cd $(WXDIR)\samples\image | |
fed485e0 | 83 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 84 | !endif |
fed485e0 JS |
85 | cd $(WXDIR)\samples\internat |
86 | nmake -f makefile.dos FINAL=$(FINAL) | |
fed485e0 JS |
87 | cd $(WXDIR)\samples\joytest |
88 | nmake -f makefile.dos FINAL=$(FINAL) | |
3372145d | 89 | cd $(WXDIR)\samples\layout |
fed485e0 | 90 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
91 | cd $(WXDIR)\samples\listctrl |
92 | nmake -f makefile.dos FINAL=$(FINAL) | |
93 | cd $(WXDIR)\samples\mdi | |
fed485e0 JS |
94 | nmake -f makefile.dos FINAL=$(FINAL) |
95 | !if "$(FINAL)" == "0" | |
96 | cd $(WXDIR)\samples\memcheck | |
3372145d PA |
97 | nmake -f makefile.dos FINAL=$(FINAL) |
98 | !endif | |
99 | !if "$(COMPIL)"=="" | |
100 | cd $(WXDIR)\samples\mfc | |
101 | nmake -f makefile.dos FINAL=$(FINAL) | |
102 | !endif | |
103 | cd $(WXDIR)\samples\minifram | |
104 | nmake -f makefile.dos FINAL=$(FINAL) | |
105 | cd $(WXDIR)\samples\minimal | |
106 | nmake -f makefile.dos FINAL=$(FINAL) | |
107 | !if "$(ONLY32)"=="" | |
108 | cd $(WXDIR)\samples\nativdlg | |
109 | nmake -f makefile.dos FINAL=$(FINAL) | |
fed485e0 | 110 | !endif |
3372145d PA |
111 | cd $(WXDIR)\samples\notebook |
112 | nmake -f makefile.dos FINAL=$(FINAL) | |
113 | !if "$(NOMAKE)"=="" | |
114 | cd $(WXDIR)\samples\oleauto | |
fed485e0 | 115 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 116 | !endif |
fed485e0 JS |
117 | cd $(WXDIR)\samples\ownerdrw |
118 | nmake -f makefile.dos FINAL=$(FINAL) | |
3372145d PA |
119 | !if "$(NOMAKE)"=="" |
120 | cd $(WXDIR)\samples\png | |
fed485e0 | 121 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
122 | !endif |
123 | cd $(WXDIR)\samples\printing | |
fed485e0 | 124 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 125 | cd $(WXDIR)\samples\proplist |
fed485e0 | 126 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
127 | !if "$(NOMAKE)"=="" |
128 | cd $(WXDIR)\samples\regtest | |
fed485e0 | 129 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
130 | !endif |
131 | cd $(WXDIR)\samples\resource | |
fed485e0 | 132 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
133 | !if "$(NOMAKE)"=="" |
134 | cd $(WXDIR)\samples\richedit | |
135 | nmake -f makefile.dos FINAL=$(FINAL) | |
136 | cd $(WXDIR)\samples\sashtest | |
137 | nmake -f makefile.dos FINAL=$(FINAL) | |
138 | !endif | |
139 | !if "$(PNGSETUP)"=="" | |
140 | cd $(WXDIR)\samples\scroll | |
141 | nmake -f makefile.dos FINAL=$(FINAL) | |
142 | !endif | |
143 | cd $(WXDIR)\samples\splitter | |
144 | nmake -f makefile.dos FINAL=$(FINAL) | |
145 | !if "$(COMPIL)"=="" | |
146 | cd $(WXDIR)\samples\tab | |
147 | nmake -f makefile.dos FINAL=$(FINAL) | |
148 | cd $(WXDIR)\samples\taskbar | |
149 | nmake -f makefile.dos FINAL=$(FINAL) | |
150 | !endif | |
151 | cd $(WXDIR)\samples\text | |
152 | nmake -f makefile.dos FINAL=$(FINAL) | |
153 | !if "$(ONLY32)"=="" | |
154 | cd $(WXDIR)\samples\thread | |
155 | nmake -f makefile.dos FINAL=$(FINAL) | |
156 | !endif | |
157 | cd $(WXDIR)\samples\toolbar | |
158 | nmake -f makefile.dos FINAL=$(FINAL) | |
159 | !if "$(PNGSETUP)"=="" | |
160 | cd $(WXDIR)\samples\treectrl | |
161 | nmake -f makefile.dos FINAL=$(FINAL) | |
162 | !endif | |
163 | !if "$(COMPIL)"=="" | |
fed485e0 JS |
164 | cd $(WXDIR)\samples\typetest |
165 | nmake -f makefile.dos FINAL=$(FINAL) | |
3372145d PA |
166 | !endif |
167 | cd $(WXDIR)\samples\validate | |
fed485e0 | 168 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
169 | !if "$(NOMAKE)"=="" |
170 | cd $(WXDIR)\samples\wizard | |
fed485e0 | 171 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
172 | !endif |
173 | cd $(WXDIR)\samples\wxpoem | |
fed485e0 | 174 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
175 | !if "$(COMPIL)"=="" |
176 | cd $(WXDIR)\samples\wxsocket | |
177 | nmake -f makefile.dos FINAL=$(FINAL) | |
178 | !endif | |
fed485e0 | 179 | clean: |
3372145d | 180 | cd $(WXDIR)\samples\bombs |
fed485e0 | 181 | nmake -f makefile.dos clean |
3372145d | 182 | cd $(WXDIR)\samples\caret |
fed485e0 | 183 | nmake -f makefile.dos clean |
3372145d | 184 | cd $(WXDIR)\samples\checklst |
fed485e0 | 185 | nmake -f makefile.dos clean |
3372145d | 186 | cd $(WXDIR)\samples\config |
fed485e0 | 187 | nmake -f makefile.dos clean |
3372145d | 188 | cd $(WXDIR)\samples\controls |
fed485e0 | 189 | nmake -f makefile.dos clean |
3372145d | 190 | cd $(WXDIR)\samples\db |
fed485e0 | 191 | nmake -f makefile.dos clean |
3372145d | 192 | cd $(WXDIR)\samples\dde |
fed485e0 | 193 | nmake -f makefile.dos clean |
3372145d | 194 | cd $(WXDIR)\samples\dialogs |
fed485e0 | 195 | nmake -f makefile.dos clean |
3372145d | 196 | cd $(WXDIR)\samples\dnd |
fed485e0 JS |
197 | nmake -f makefile.dos clean |
198 | cd $(WXDIR)\samples\docview | |
199 | nmake -f makefile.dos clean | |
200 | cd $(WXDIR)\samples\docvwmdi | |
201 | nmake -f makefile.dos clean | |
3372145d | 202 | cd $(WXDIR)\samples\drawing |
fed485e0 | 203 | nmake -f makefile.dos clean |
3372145d PA |
204 | cd $(WXDIR)\samples\dynamic |
205 | nmake -f makefile.dos clean | |
206 | cd $(WXDIR)\samples\forty | |
207 | nmake -f makefile.dos clean | |
208 | cd $(WXDIR)\samples\fractal | |
fed485e0 JS |
209 | nmake -f makefile.dos clean |
210 | cd $(WXDIR)\samples\grid | |
211 | nmake -f makefile.dos clean | |
3372145d PA |
212 | !if "$(NOMAKE)"=="" |
213 | cd $(WXDIR)\samples\help | |
214 | nmake -f makefile.dos clean | |
215 | cd $(WXDIR)\samples\html | |
216 | nmake -f makefile.dos clean | |
217 | !endif | |
218 | cd $(WXDIR)\samples\image | |
219 | nmake -f makefile.dos clean | |
fed485e0 JS |
220 | cd $(WXDIR)\samples\internat |
221 | nmake -f makefile.dos clean | |
3372145d PA |
222 | cd $(WXDIR)\samples\joytest |
223 | nmake -f makefile.dos clean | |
224 | cd $(WXDIR)\samples\layout | |
225 | nmake -f makefile.dos clean | |
226 | cd $(WXDIR)\samples\listctrl | |
227 | nmake -f makefile.dos clean | |
228 | cd $(WXDIR)\samples\mdi | |
fed485e0 | 229 | nmake -f makefile.dos clean |
3372145d PA |
230 | !if "$(FINAL)" == "0" |
231 | cd $(WXDIR)\samples\memcheck | |
232 | nmake -f makefile.dos clean | |
233 | !endif | |
234 | cd $(WXDIR)\samples\mfc | |
235 | nmake -f makefile.dos clean | |
236 | cd $(WXDIR)\samples\minifram | |
237 | nmake -f makefile.dos clean | |
238 | cd $(WXDIR)\samples\minimal | |
239 | nmake -f makefile.dos clean | |
240 | cd $(WXDIR)\samples\nativdlg | |
241 | nmake -f makefile.dos clean | |
242 | cd $(WXDIR)\samples\notebook | |
243 | nmake -f makefile.dos clean | |
244 | !if "$(NOMAKE)"=="" | |
245 | cd $(WXDIR)\samples\oleauto | |
246 | nmake -f makefile.dos clean | |
247 | !endif | |
fed485e0 JS |
248 | cd $(WXDIR)\samples\ownerdrw |
249 | nmake -f makefile.dos clean | |
3372145d PA |
250 | !if "$(NOMAKE)"=="" |
251 | cd $(WXDIR)\samples\png | |
fed485e0 | 252 | nmake -f makefile.dos clean |
3372145d PA |
253 | !endif |
254 | cd $(WXDIR)\samples\printing | |
255 | nmake -f makefile.dos clean | |
256 | cd $(WXDIR)\samples\proplist | |
fed485e0 | 257 | nmake -f makefile.dos clean |
3372145d | 258 | !if "$(NOMAKE)"=="" |
fed485e0 JS |
259 | cd $(WXDIR)\samples\regtest |
260 | nmake -f makefile.dos clean | |
3372145d PA |
261 | !endif |
262 | cd $(WXDIR)\samples\resource | |
263 | nmake -f makefile.dos clean | |
264 | !if "$(NOMAKE)"=="" | |
265 | cd $(WXDIR)\samples\richedit | |
fed485e0 JS |
266 | nmake -f makefile.dos clean |
267 | cd $(WXDIR)\samples\sashtest | |
268 | nmake -f makefile.dos clean | |
3372145d PA |
269 | !endif |
270 | cd $(WXDIR)\samples\scroll | |
fed485e0 | 271 | nmake -f makefile.dos clean |
3372145d | 272 | cd $(WXDIR)\samples\splitter |
fed485e0 | 273 | nmake -f makefile.dos clean |
3372145d | 274 | cd $(WXDIR)\samples\tab |
fed485e0 | 275 | nmake -f makefile.dos clean |
3372145d | 276 | cd $(WXDIR)\samples\taskbar |
fed485e0 | 277 | nmake -f makefile.dos clean |
3372145d PA |
278 | cd $(WXDIR)\samples\text |
279 | nmake -f makefile.dos clean | |
280 | cd $(WXDIR)\samples\thread | |
281 | nmake -f makefile.dos clean | |
282 | cd $(WXDIR)\samples\toolbar | |
283 | nmake -f makefile.dos clean | |
284 | cd $(WXDIR)\samples\treectrl | |
fed485e0 JS |
285 | nmake -f makefile.dos clean |
286 | cd $(WXDIR)\samples\typetest | |
287 | nmake -f makefile.dos clean | |
3372145d | 288 | cd $(WXDIR)\samples\validate |
fed485e0 | 289 | nmake -f makefile.dos clean |
3372145d PA |
290 | !if "$(NOMAKE)"=="" |
291 | cd $(WXDIR)\samples\wizard | |
fed485e0 | 292 | nmake -f makefile.dos clean |
3372145d PA |
293 | !endif |
294 | cd $(WXDIR)\samples\wxpoem | |
295 | nmake -f makefile.dos clean | |
296 | cd $(WXDIR)\samples\wxsocket | |
fed485e0 JS |
297 | nmake -f makefile.dos clean |
298 |