]>
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: |
c0b39641 VS |
35 | cd $(WXDIR)\samples\artprov |
36 | nmake -f makefile.dos FINAL=$(FINAL) | |
3372145d | 37 | cd $(WXDIR)\samples\bombs |
fed485e0 | 38 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
39 | cd $(WXDIR)\samples\caret |
40 | nmake -f makefile.dos FINAL=$(FINAL) | |
41 | cd $(WXDIR)\samples\checklst | |
42 | nmake -f makefile.dos FINAL=$(FINAL) | |
43 | cd $(WXDIR)\samples\config | |
fed485e0 JS |
44 | nmake -f makefile.dos FINAL=$(FINAL) |
45 | cd $(WXDIR)\samples\controls | |
46 | nmake -f makefile.dos FINAL=$(FINAL) | |
3372145d PA |
47 | !if "$(COMPIL)"=="" |
48 | cd $(WXDIR)\samples\db | |
fed485e0 | 49 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
50 | !endif |
51 | cd $(WXDIR)\samples\dde | |
fed485e0 | 52 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 53 | cd $(WXDIR)\samples\dialogs |
fed485e0 | 54 | nmake -f makefile.dos FINAL=$(FINAL) |
48c12cb1 | 55 | !if "$(ONLY32)"=="" |
3372145d | 56 | cd $(WXDIR)\samples\dnd |
fed485e0 | 57 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
58 | !endif |
59 | cd $(WXDIR)\samples\docview | |
fed485e0 | 60 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 61 | cd $(WXDIR)\samples\docvwmdi |
fed485e0 | 62 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 63 | cd $(WXDIR)\samples\drawing |
fed485e0 | 64 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 65 | cd $(WXDIR)\samples\dynamic |
fed485e0 | 66 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 67 | cd $(WXDIR)\samples\forty |
fed485e0 | 68 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 69 | cd $(WXDIR)\samples\fractal |
fed485e0 | 70 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 71 | cd $(WXDIR)\samples\grid |
fed485e0 | 72 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
73 | !if "$(NOMAKE)"=="" |
74 | cd $(WXDIR)\samples\help | |
fed485e0 | 75 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 76 | cd $(WXDIR)\samples\html |
fed485e0 | 77 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 78 | !endif |
fed485e0 JS |
79 | cd $(WXDIR)\samples\internat |
80 | nmake -f makefile.dos FINAL=$(FINAL) | |
fed485e0 JS |
81 | cd $(WXDIR)\samples\joytest |
82 | nmake -f makefile.dos FINAL=$(FINAL) | |
3372145d | 83 | cd $(WXDIR)\samples\layout |
fed485e0 | 84 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
85 | cd $(WXDIR)\samples\listctrl |
86 | nmake -f makefile.dos FINAL=$(FINAL) | |
87 | cd $(WXDIR)\samples\mdi | |
fed485e0 JS |
88 | nmake -f makefile.dos FINAL=$(FINAL) |
89 | !if "$(FINAL)" == "0" | |
90 | cd $(WXDIR)\samples\memcheck | |
3372145d PA |
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) | |
fed485e0 | 104 | !endif |
3372145d PA |
105 | cd $(WXDIR)\samples\notebook |
106 | nmake -f makefile.dos FINAL=$(FINAL) | |
107 | !if "$(NOMAKE)"=="" | |
108 | cd $(WXDIR)\samples\oleauto | |
fed485e0 | 109 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 110 | !endif |
fed485e0 JS |
111 | cd $(WXDIR)\samples\ownerdrw |
112 | nmake -f makefile.dos FINAL=$(FINAL) | |
3372145d PA |
113 | !if "$(NOMAKE)"=="" |
114 | cd $(WXDIR)\samples\png | |
fed485e0 | 115 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
116 | !endif |
117 | cd $(WXDIR)\samples\printing | |
fed485e0 | 118 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d | 119 | cd $(WXDIR)\samples\proplist |
fed485e0 | 120 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
121 | !if "$(NOMAKE)"=="" |
122 | cd $(WXDIR)\samples\regtest | |
fed485e0 | 123 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
124 | !endif |
125 | cd $(WXDIR)\samples\resource | |
fed485e0 | 126 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
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 | |
3372145d PA |
133 | cd $(WXDIR)\samples\scroll |
134 | nmake -f makefile.dos FINAL=$(FINAL) | |
3372145d PA |
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) | |
3372145d PA |
151 | cd $(WXDIR)\samples\treectrl |
152 | nmake -f makefile.dos FINAL=$(FINAL) | |
3372145d | 153 | !if "$(COMPIL)"=="" |
fed485e0 JS |
154 | cd $(WXDIR)\samples\typetest |
155 | nmake -f makefile.dos FINAL=$(FINAL) | |
3372145d PA |
156 | !endif |
157 | cd $(WXDIR)\samples\validate | |
fed485e0 | 158 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
159 | !if "$(NOMAKE)"=="" |
160 | cd $(WXDIR)\samples\wizard | |
fed485e0 | 161 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
162 | !endif |
163 | cd $(WXDIR)\samples\wxpoem | |
fed485e0 | 164 | nmake -f makefile.dos FINAL=$(FINAL) |
3372145d PA |
165 | !if "$(COMPIL)"=="" |
166 | cd $(WXDIR)\samples\wxsocket | |
167 | nmake -f makefile.dos FINAL=$(FINAL) | |
168 | !endif | |
fed485e0 | 169 | clean: |
3372145d | 170 | cd $(WXDIR)\samples\bombs |
fed485e0 | 171 | nmake -f makefile.dos clean |
3372145d | 172 | cd $(WXDIR)\samples\caret |
fed485e0 | 173 | nmake -f makefile.dos clean |
3372145d | 174 | cd $(WXDIR)\samples\checklst |
fed485e0 | 175 | nmake -f makefile.dos clean |
3372145d | 176 | cd $(WXDIR)\samples\config |
fed485e0 | 177 | nmake -f makefile.dos clean |
3372145d | 178 | cd $(WXDIR)\samples\controls |
fed485e0 | 179 | nmake -f makefile.dos clean |
3372145d | 180 | cd $(WXDIR)\samples\db |
fed485e0 | 181 | nmake -f makefile.dos clean |
3372145d | 182 | cd $(WXDIR)\samples\dde |
fed485e0 | 183 | nmake -f makefile.dos clean |
3372145d | 184 | cd $(WXDIR)\samples\dialogs |
fed485e0 | 185 | nmake -f makefile.dos clean |
3372145d | 186 | cd $(WXDIR)\samples\dnd |
fed485e0 JS |
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 | |
3372145d | 192 | cd $(WXDIR)\samples\drawing |
fed485e0 | 193 | nmake -f makefile.dos clean |
3372145d PA |
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 | |
fed485e0 JS |
199 | nmake -f makefile.dos clean |
200 | cd $(WXDIR)\samples\grid | |
201 | nmake -f makefile.dos clean | |
3372145d PA |
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 | |
fed485e0 JS |
208 | cd $(WXDIR)\samples\internat |
209 | nmake -f makefile.dos clean | |
3372145d PA |
210 | cd $(WXDIR)\samples\joytest |
211 | nmake -f makefile.dos clean | |
212 | cd $(WXDIR)\samples\layout | |
213 | nmake -f makefile.dos clean | |
214 | cd $(WXDIR)\samples\listctrl | |
215 | nmake -f makefile.dos clean | |
216 | cd $(WXDIR)\samples\mdi | |
fed485e0 | 217 | nmake -f makefile.dos clean |
3372145d PA |
218 | !if "$(FINAL)" == "0" |
219 | cd $(WXDIR)\samples\memcheck | |
220 | nmake -f makefile.dos clean | |
221 | !endif | |
222 | cd $(WXDIR)\samples\mfc | |
223 | nmake -f makefile.dos clean | |
224 | cd $(WXDIR)\samples\minifram | |
225 | nmake -f makefile.dos clean | |
226 | cd $(WXDIR)\samples\minimal | |
227 | nmake -f makefile.dos clean | |
228 | cd $(WXDIR)\samples\nativdlg | |
229 | nmake -f makefile.dos clean | |
230 | cd $(WXDIR)\samples\notebook | |
231 | nmake -f makefile.dos clean | |
232 | !if "$(NOMAKE)"=="" | |
233 | cd $(WXDIR)\samples\oleauto | |
234 | nmake -f makefile.dos clean | |
235 | !endif | |
fed485e0 JS |
236 | cd $(WXDIR)\samples\ownerdrw |
237 | nmake -f makefile.dos clean | |
3372145d PA |
238 | !if "$(NOMAKE)"=="" |
239 | cd $(WXDIR)\samples\png | |
fed485e0 | 240 | nmake -f makefile.dos clean |
3372145d PA |
241 | !endif |
242 | cd $(WXDIR)\samples\printing | |
243 | nmake -f makefile.dos clean | |
244 | cd $(WXDIR)\samples\proplist | |
fed485e0 | 245 | nmake -f makefile.dos clean |
3372145d | 246 | !if "$(NOMAKE)"=="" |
fed485e0 JS |
247 | cd $(WXDIR)\samples\regtest |
248 | nmake -f makefile.dos clean | |
3372145d PA |
249 | !endif |
250 | cd $(WXDIR)\samples\resource | |
251 | nmake -f makefile.dos clean | |
252 | !if "$(NOMAKE)"=="" | |
253 | cd $(WXDIR)\samples\richedit | |
fed485e0 JS |
254 | nmake -f makefile.dos clean |
255 | cd $(WXDIR)\samples\sashtest | |
256 | nmake -f makefile.dos clean | |
3372145d PA |
257 | !endif |
258 | cd $(WXDIR)\samples\scroll | |
fed485e0 | 259 | nmake -f makefile.dos clean |
3372145d | 260 | cd $(WXDIR)\samples\splitter |
fed485e0 | 261 | nmake -f makefile.dos clean |
3372145d | 262 | cd $(WXDIR)\samples\tab |
fed485e0 | 263 | nmake -f makefile.dos clean |
3372145d | 264 | cd $(WXDIR)\samples\taskbar |
fed485e0 | 265 | nmake -f makefile.dos clean |
3372145d PA |
266 | cd $(WXDIR)\samples\text |
267 | nmake -f makefile.dos clean | |
268 | cd $(WXDIR)\samples\thread | |
269 | nmake -f makefile.dos clean | |
270 | cd $(WXDIR)\samples\toolbar | |
271 | nmake -f makefile.dos clean | |
272 | cd $(WXDIR)\samples\treectrl | |
fed485e0 JS |
273 | nmake -f makefile.dos clean |
274 | cd $(WXDIR)\samples\typetest | |
275 | nmake -f makefile.dos clean | |
3372145d | 276 | cd $(WXDIR)\samples\validate |
fed485e0 | 277 | nmake -f makefile.dos clean |
3372145d PA |
278 | !if "$(NOMAKE)"=="" |
279 | cd $(WXDIR)\samples\wizard | |
fed485e0 | 280 | nmake -f makefile.dos clean |
3372145d PA |
281 | !endif |
282 | cd $(WXDIR)\samples\wxpoem | |
283 | nmake -f makefile.dos clean | |
284 | cd $(WXDIR)\samples\wxsocket | |
fed485e0 JS |
285 | nmake -f makefile.dos clean |
286 |