]>
Commit | Line | Data |
---|---|---|
fed485e0 JS |
1 | # |
2 | # File: makefile.b32 | |
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, BC++ WIN32 | |
cba2db0c | 11 | # Use FINAL=1 argument to make to build final version with no debugging |
fed485e0 JS |
12 | # info |
13 | ||
14 | # Set WXDIR for your system | |
15 | WXDIR = $(WXWIN) | |
16 | ||
17 | THISDIR=$(WXDIR)\samples | |
18 | ||
9f15eeb3 JS |
19 | # |
20 | # Indicates kind of pb with samples | |
21 | # | |
22 | # No makefile.vc file | |
23 | NOMAKE=1 | |
24 | # No 16 bit version | |
25 | #ONLY32=1 | |
26 | # Misc. compilation errors | |
27 | COMPIL=1 | |
28 | # Need PNG | |
29 | PNGSETUP= | |
f2d0790b MB |
30 | # Need wxUSE_ODBC; define this to compile db sample |
31 | ODBCSETUP= | |
4d50d684 | 32 | WXUSINGDLL=0 |
9f15eeb3 JS |
33 | |
34 | # | |
35 | # Please keep samples list up-to-date, in alphabetical order | |
f2d0790b | 36 | # not alphabetically organised ; 29 Nov 01 |
fed485e0 | 37 | all: |
c0b39641 VS |
38 | cd $(WXDIR)\samples\artprov |
39 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) | |
9f15eeb3 | 40 | cd $(WXDIR)\samples\calendar |
f2d0790b | 41 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 42 | cd $(WXDIR)\samples\caret |
f2d0790b | 43 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 44 | cd $(WXDIR)\samples\checklst |
f2d0790b | 45 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 46 | cd $(WXDIR)\samples\config |
f2d0790b | 47 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
fed485e0 | 48 | cd $(WXDIR)\samples\controls |
f2d0790b MB |
49 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
50 | !if "$(ODBCSETUP)"=="1" | |
9f15eeb3 | 51 | cd $(WXDIR)\samples\db |
f2d0790b MB |
52 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
53 | !endif | |
9f15eeb3 | 54 | cd $(WXDIR)\samples\ipc |
f2d0790b | 55 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 56 | cd $(WXDIR)\samples\dialogs |
f2d0790b | 57 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 58 | cd $(WXDIR)\samples\dnd |
f2d0790b | 59 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 60 | cd $(WXDIR)\samples\docview |
f2d0790b | 61 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 62 | cd $(WXDIR)\samples\docvwmdi |
f2d0790b | 63 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 64 | cd $(WXDIR)\samples\drawing |
f2d0790b | 65 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 66 | cd $(WXDIR)\samples\dynamic |
f2d0790b | 67 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 68 | cd $(WXDIR)\samples\font |
f2d0790b | 69 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 70 | cd $(WXDIR)\samples\grid |
f2d0790b | 71 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 72 | cd $(WXDIR)\samples\newgrid |
f2d0790b MB |
73 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
74 | ||
9f15eeb3 | 75 | cd $(WXDIR)\samples\help |
f2d0790b MB |
76 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
77 | ||
9f15eeb3 JS |
78 | !if "$(PNGSETUP)"=="" |
79 | cd $(WXDIR)\samples\html | |
f2d0790b | 80 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 81 | !endif |
c1ef9cdb JS |
82 | cd $(WXDIR)\samples\keyboard |
83 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) | |
9f15eeb3 | 84 | cd $(WXDIR)\samples\image |
f2d0790b | 85 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
fed485e0 | 86 | cd $(WXDIR)\samples\internat |
f2d0790b | 87 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
fed485e0 | 88 | cd $(WXDIR)\samples\joytest |
f2d0790b | 89 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 90 | cd $(WXDIR)\samples\layout |
f2d0790b | 91 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 92 | cd $(WXDIR)\samples\listctrl |
f2d0790b | 93 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 94 | cd $(WXDIR)\samples\mdi |
f2d0790b | 95 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 96 | cd $(WXDIR)\samples\menu |
f2d0790b | 97 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
fed485e0 JS |
98 | !if "$(FINAL)" == "0" |
99 | cd $(WXDIR)\samples\memcheck | |
f2d0790b | 100 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
fed485e0 | 101 | !endif |
9f15eeb3 JS |
102 | !if "$(COMPIL)"=="" |
103 | cd $(WXDIR)\samples\mfc | |
f2d0790b | 104 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 JS |
105 | !endif |
106 | cd $(WXDIR)\samples\minifram | |
f2d0790b | 107 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 108 | cd $(WXDIR)\samples\minimal |
f2d0790b | 109 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 110 | cd $(WXDIR)\samples\nativdlg |
f2d0790b | 111 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 JS |
112 | !if "$(COMPIL)"=="" |
113 | cd $(WXDIR)\samples\dialup | |
f2d0790b | 114 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 JS |
115 | !endif |
116 | cd $(WXDIR)\samples\notebook | |
f2d0790b | 117 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 118 | cd $(WXDIR)\samples\oleauto |
f2d0790b | 119 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 120 | cd $(WXDIR)\samples\ownerdrw |
f2d0790b | 121 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 122 | cd $(WXDIR)\samples\png |
f2d0790b | 123 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 124 | cd $(WXDIR)\samples\printing |
f2d0790b | 125 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
fed485e0 | 126 | cd $(WXDIR)\samples\proplist |
f2d0790b | 127 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 128 | cd $(WXDIR)\samples\regtest |
f2d0790b | 129 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 130 | cd $(WXDIR)\samples\resource |
f2d0790b | 131 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 JS |
132 | !if "$(COMPIL)"=="" |
133 | cd $(WXDIR)\samples\richedit | |
f2d0790b | 134 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 135 | !endif |
457e6c54 | 136 | cd $(WXDIR)\samples\rotate |
f2d0790b | 137 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 138 | cd $(WXDIR)\samples\sashtest |
f2d0790b | 139 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 140 | cd $(WXDIR)\samples\scroll |
f2d0790b | 141 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 142 | cd $(WXDIR)\samples\scrollsub |
f2d0790b | 143 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 144 | cd $(WXDIR)\samples\splitter |
f2d0790b | 145 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 JS |
146 | !if "$(COMPIL)"=="" |
147 | cd $(WXDIR)\samples\tab | |
f2d0790b | 148 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 JS |
149 | !endif |
150 | cd $(WXDIR)\samples\taskbar | |
f2d0790b | 151 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 152 | cd $(WXDIR)\samples\text |
f2d0790b | 153 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 154 | cd $(WXDIR)\samples\thread |
f2d0790b | 155 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 156 | cd $(WXDIR)\samples\toolbar |
f2d0790b | 157 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 158 | cd $(WXDIR)\samples\treectrl |
f2d0790b | 159 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 160 | cd $(WXDIR)\samples\typetest |
f2d0790b | 161 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 162 | cd $(WXDIR)\samples\validate |
f2d0790b | 163 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
9f15eeb3 | 164 | cd $(WXDIR)\samples\wizard |
f2d0790b MB |
165 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
166 | cd $(WXDIR)\samples\dragimag | |
167 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) | |
168 | cd $(WXDIR)\samples\exec | |
169 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) | |
170 | cd $(WXDIR)\samples\richedit | |
171 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) | |
172 | cd $(WXDIR)\samples\statbar | |
173 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) | |
9f15eeb3 | 174 | cd $(WXDIR)\samples\sockets |
f2d0790b MB |
175 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) |
176 | cd $(WXDIR)\samples\widgets | |
177 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) | |
178 | cd $(WXDIR)\samples\tab | |
179 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) | |
180 | cd $(WXDIR)\samples\treelay | |
181 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) | |
182 | cd $(WXDIR)\samples\erase | |
183 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) | |
184 | cd $(WXDIR)\samples\event | |
185 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) | |
186 | cd $(WXDIR)\samples\propsize | |
187 | make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) | |
fed485e0 JS |
188 | |
189 | clean: | |
4d50d684 JS |
190 | cd $(WXDIR)\samples\artprov |
191 | make -f makefile.b32 clean | |
9f15eeb3 | 192 | cd $(WXDIR)\samples\calendar |
cba2db0c | 193 | make -f makefile.b32 clean |
9f15eeb3 | 194 | cd $(WXDIR)\samples\caret |
cba2db0c | 195 | make -f makefile.b32 clean |
9f15eeb3 | 196 | cd $(WXDIR)\samples\checklst |
cba2db0c | 197 | make -f makefile.b32 clean |
9f15eeb3 | 198 | cd $(WXDIR)\samples\config |
cba2db0c | 199 | make -f makefile.b32 clean |
9f15eeb3 | 200 | cd $(WXDIR)\samples\controls |
cba2db0c | 201 | make -f makefile.b32 clean |
9f15eeb3 | 202 | cd $(WXDIR)\samples\db |
cba2db0c | 203 | make -f makefile.b32 clean |
9f15eeb3 | 204 | cd $(WXDIR)\samples\ipc |
cba2db0c | 205 | make -f makefile.b32 clean |
9f15eeb3 | 206 | cd $(WXDIR)\samples\dialogs |
cba2db0c | 207 | make -f makefile.b32 clean |
9f15eeb3 | 208 | cd $(WXDIR)\samples\dnd |
cba2db0c | 209 | make -f makefile.b32 clean |
fed485e0 | 210 | cd $(WXDIR)\samples\docview |
cba2db0c | 211 | make -f makefile.b32 clean |
fed485e0 | 212 | cd $(WXDIR)\samples\docvwmdi |
cba2db0c | 213 | make -f makefile.b32 clean |
9f15eeb3 | 214 | cd $(WXDIR)\samples\drawing |
cba2db0c | 215 | make -f makefile.b32 clean |
9f15eeb3 JS |
216 | cd $(WXDIR)\samples\dynamic |
217 | make -f makefile.b32 clean | |
218 | cd $(WXDIR)\samples\font | |
cba2db0c | 219 | make -f makefile.b32 clean |
fed485e0 | 220 | cd $(WXDIR)\samples\grid |
cba2db0c | 221 | make -f makefile.b32 clean |
9f15eeb3 | 222 | cd $(WXDIR)\samples\newgrid |
cba2db0c | 223 | make -f makefile.b32 clean |
9f15eeb3 | 224 | cd $(WXDIR)\samples\help |
cba2db0c | 225 | make -f makefile.b32 clean |
9f15eeb3 | 226 | cd $(WXDIR)\samples\html |
cba2db0c | 227 | make -f makefile.b32 clean |
9f15eeb3 JS |
228 | cd $(WXDIR)\samples\image |
229 | make -f makefile.b32 clean | |
230 | cd $(WXDIR)\samples\internat | |
cba2db0c | 231 | make -f makefile.b32 clean |
c1ef9cdb JS |
232 | cd $(WXDIR)\samples\keyboard |
233 | make -f makefile.b32 clean | |
fed485e0 | 234 | cd $(WXDIR)\samples\joytest |
cba2db0c | 235 | make -f makefile.b32 clean |
9f15eeb3 | 236 | cd $(WXDIR)\samples\layout |
cba2db0c | 237 | make -f makefile.b32 clean |
9f15eeb3 | 238 | cd $(WXDIR)\samples\listctrl |
cba2db0c | 239 | make -f makefile.b32 clean |
9f15eeb3 | 240 | cd $(WXDIR)\samples\mdi |
cba2db0c | 241 | make -f makefile.b32 clean |
fed485e0 | 242 | cd $(WXDIR)\samples\memcheck |
cba2db0c | 243 | make -f makefile.b32 clean |
9f15eeb3 JS |
244 | cd $(WXDIR)\samples\mfc |
245 | make -f makefile.b32 clean | |
246 | cd $(WXDIR)\samples\menu | |
247 | make -f makefile.b32 clean | |
fed485e0 | 248 | cd $(WXDIR)\samples\minifram |
cba2db0c | 249 | make -f makefile.b32 clean |
9f15eeb3 JS |
250 | cd $(WXDIR)\samples\minimal |
251 | make -f makefile.b32 clean | |
252 | cd $(WXDIR)\samples\nativdlg | |
cba2db0c | 253 | make -f makefile.b32 clean |
9f15eeb3 | 254 | cd $(WXDIR)\samples\dialup |
cba2db0c | 255 | make -f makefile.b32 clean |
9f15eeb3 | 256 | cd $(WXDIR)\samples\notebook |
cba2db0c | 257 | make -f makefile.b32 clean |
9f15eeb3 JS |
258 | cd $(WXDIR)\samples\oleauto |
259 | make -f makefile.b32 clean | |
260 | cd $(WXDIR)\samples\ownerdrw | |
261 | make -f makefile.b32 clean | |
262 | cd $(WXDIR)\samples\png | |
263 | make -f makefile.b32 clean | |
264 | cd $(WXDIR)\samples\printing | |
cba2db0c | 265 | make -f makefile.b32 clean |
fed485e0 | 266 | cd $(WXDIR)\samples\proplist |
cba2db0c | 267 | make -f makefile.b32 clean |
9f15eeb3 JS |
268 | cd $(WXDIR)\samples\regtest |
269 | make -f makefile.b32 clean | |
270 | cd $(WXDIR)\samples\resource | |
271 | make -f makefile.b32 clean | |
272 | cd $(WXDIR)\samples\richedit | |
cba2db0c | 273 | make -f makefile.b32 clean |
457e6c54 JS |
274 | cd $(WXDIR)\samples\rotate |
275 | make -f makefile.b32 clean | |
9f15eeb3 JS |
276 | cd $(WXDIR)\samples\sashtest |
277 | make -f makefile.b32 clean | |
278 | cd $(WXDIR)\samples\scroll | |
279 | make -f makefile.b32 clean | |
280 | cd $(WXDIR)\samples\scrollsub | |
281 | make -f makefile.b32 clean | |
282 | cd $(WXDIR)\samples\splitter | |
283 | make -f makefile.b32 clean | |
284 | cd $(WXDIR)\samples\tab | |
285 | make -f makefile.b32 clean | |
286 | cd $(WXDIR)\samples\taskbar | |
287 | make -f makefile.b32 clean | |
288 | cd $(WXDIR)\samples\text | |
289 | make -f makefile.b32 clean | |
290 | cd $(WXDIR)\samples\thread | |
291 | make -f makefile.b32 clean | |
292 | cd $(WXDIR)\samples\toolbar | |
293 | make -f makefile.b32 clean | |
294 | cd $(WXDIR)\samples\treectrl | |
295 | make -f makefile.b32 clean | |
296 | cd $(WXDIR)\samples\typetest | |
297 | make -f makefile.b32 clean | |
298 | cd $(WXDIR)\samples\validate | |
299 | make -f makefile.b32 clean | |
9f15eeb3 JS |
300 | cd $(WXDIR)\samples\wizard |
301 | make -f makefile.b32 clean | |
f2d0790b MB |
302 | cd $(WXDIR)\samples\dragimag |
303 | make -f makefile.b32 clean | |
304 | cd $(WXDIR)\samples\erase | |
305 | make -f makefile.b32 clean | |
306 | cd $(WXDIR)\samples\exec | |
307 | make -f makefile.b32 clean | |
308 | cd $(WXDIR)\samples\event | |
309 | make -f makefile.b32 clean | |
310 | cd $(WXDIR)\samples\statbar | |
311 | make -f makefile.b32 clean | |
312 | cd $(WXDIR)\samples\richedit | |
313 | make -f makefile.b32 clean | |
314 | cd $(WXDIR)\samples\propsize | |
315 | make -f makefile.b32 clean | |
9f15eeb3 | 316 | cd $(WXDIR)\samples\sockets |
cba2db0c | 317 | make -f makefile.b32 clean |
f2d0790b MB |
318 | cd $(WXDIR)\samples\treelay |
319 | make -f makefile.b32 clean | |
320 | cd $(WXDIR)\samples\treectrl | |
321 | make -f makefile.b32 clean | |
322 | cd $(WXDIR)\samples\tab | |
323 | make -f makefile.b32 clean | |
324 | cd $(WXDIR)\samples\widgets | |
325 | make -f makefile.b32 clean | |
fed485e0 | 326 |