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