]>
Commit | Line | Data |
---|---|---|
1ff121bd | 1 | # |
48d1144b | 2 | # File: makefile.vc |
1ff121bd JS |
3 | # Author: Julian Smart |
4 | # Created: 1993 | |
5 | # Updated: | |
6 | # Copyright: (c) 1993, AIAI, University of Edinburgh | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
48c12cb1 | 10 | # Makefile : Builds samples for Win95, MSVC++ 16-bit |
1ff121bd JS |
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 | ||
48c12cb1 PA |
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 | |
60a67569 | 29 | PNGSETUP= |
1ff121bd | 30 | |
48c12cb1 | 31 | !include $(WXDIR)\src\makemsc.env |
1ff121bd | 32 | |
289b2d61 MB |
33 | MAKEFLAGS=FINAL=$(FINAL) UNICODE=$(UNICODE) WXUSINGDLL=$(WXUSINGDLL) |
34 | ||
48c12cb1 PA |
35 | # |
36 | # Please keep samples list up-to-date, in alphabetical order | |
37 | # | |
1ff121bd | 38 | all: |
c0b39641 VS |
39 | cd $(WXDIR)\samples\artprov |
40 | nmake -f makefile.vc $(MAKEFLAGS) | |
1cf4526d | 41 | cd $(WXDIR)\samples\calendar |
289b2d61 | 42 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 43 | cd $(WXDIR)\samples\caret |
289b2d61 | 44 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 45 | cd $(WXDIR)\samples\checklst |
289b2d61 | 46 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 47 | cd $(WXDIR)\samples\config |
289b2d61 | 48 | nmake -f makefile.vc $(MAKEFLAGS) |
1ff121bd | 49 | cd $(WXDIR)\samples\controls |
289b2d61 | 50 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 51 | cd $(WXDIR)\samples\db |
289b2d61 | 52 | nmake -f makefile.vc $(MAKEFLAGS) |
1cf4526d | 53 | cd $(WXDIR)\samples\ipc |
289b2d61 | 54 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 55 | cd $(WXDIR)\samples\dialogs |
289b2d61 | 56 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 57 | cd $(WXDIR)\samples\dnd |
289b2d61 | 58 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 59 | cd $(WXDIR)\samples\docview |
289b2d61 | 60 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 61 | cd $(WXDIR)\samples\docvwmdi |
289b2d61 | 62 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 63 | cd $(WXDIR)\samples\drawing |
289b2d61 | 64 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 65 | cd $(WXDIR)\samples\dynamic |
289b2d61 | 66 | nmake -f makefile.vc $(MAKEFLAGS) |
ad556aa9 | 67 | cd $(WXDIR)\samples\font |
289b2d61 | 68 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 69 | cd $(WXDIR)\samples\grid |
289b2d61 | 70 | nmake -f makefile.vc $(MAKEFLAGS) |
60a67569 | 71 | cd $(WXDIR)\samples\newgrid |
289b2d61 | 72 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 73 | cd $(WXDIR)\samples\help |
289b2d61 | 74 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 PA |
75 | !if "$(PNGSETUP)"=="" |
76 | cd $(WXDIR)\samples\html | |
289b2d61 | 77 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 PA |
78 | !endif |
79 | cd $(WXDIR)\samples\image | |
289b2d61 | 80 | nmake -f makefile.vc $(MAKEFLAGS) |
1ff121bd | 81 | cd $(WXDIR)\samples\internat |
289b2d61 | 82 | nmake -f makefile.vc $(MAKEFLAGS) |
1ff121bd | 83 | cd $(WXDIR)\samples\joytest |
289b2d61 | 84 | nmake -f makefile.vc $(MAKEFLAGS) |
c1ef9cdb JS |
85 | cd $(WXDIR)\samples\keyboard |
86 | nmake -f makefile.vc $(MAKEFLAGS) | |
48c12cb1 | 87 | cd $(WXDIR)\samples\layout |
289b2d61 | 88 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 89 | cd $(WXDIR)\samples\listctrl |
289b2d61 | 90 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 91 | cd $(WXDIR)\samples\mdi |
289b2d61 | 92 | nmake -f makefile.vc $(MAKEFLAGS) |
ad556aa9 | 93 | cd $(WXDIR)\samples\menu |
289b2d61 | 94 | nmake -f makefile.vc $(MAKEFLAGS) |
2fd284a4 | 95 | !if "$(FINAL)" == "0" |
27529614 | 96 | cd $(WXDIR)\samples\memcheck |
289b2d61 | 97 | nmake -f makefile.vc $(MAKEFLAGS) |
2fd284a4 | 98 | !endif |
48c12cb1 PA |
99 | !if "$(COMPIL)"=="" |
100 | cd $(WXDIR)\samples\mfc | |
289b2d61 | 101 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 PA |
102 | !endif |
103 | cd $(WXDIR)\samples\minifram | |
289b2d61 | 104 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 105 | cd $(WXDIR)\samples\minimal |
289b2d61 | 106 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 107 | cd $(WXDIR)\samples\nativdlg |
289b2d61 | 108 | nmake -f makefile.vc $(MAKEFLAGS) |
69d16e3e | 109 | !if "$(COMPIL)"=="" |
1cf4526d | 110 | cd $(WXDIR)\samples\dialup |
289b2d61 | 111 | nmake -f makefile.vc $(MAKEFLAGS) |
69d16e3e | 112 | !endif |
48c12cb1 | 113 | cd $(WXDIR)\samples\notebook |
289b2d61 | 114 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 115 | cd $(WXDIR)\samples\oleauto |
289b2d61 | 116 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 117 | cd $(WXDIR)\samples\ownerdrw |
289b2d61 | 118 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 119 | cd $(WXDIR)\samples\png |
289b2d61 | 120 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 121 | cd $(WXDIR)\samples\printing |
289b2d61 | 122 | nmake -f makefile.vc $(MAKEFLAGS) |
e3a43801 | 123 | cd $(WXDIR)\samples\proplist |
289b2d61 | 124 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 125 | cd $(WXDIR)\samples\regtest |
289b2d61 | 126 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 127 | cd $(WXDIR)\samples\resource |
289b2d61 | 128 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 PA |
129 | !if "$(COMPIL)"=="" |
130 | cd $(WXDIR)\samples\richedit | |
289b2d61 | 131 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 132 | !endif |
457e6c54 | 133 | cd $(WXDIR)\samples\rotate |
289b2d61 | 134 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 135 | cd $(WXDIR)\samples\sashtest |
289b2d61 | 136 | nmake -f makefile.vc $(MAKEFLAGS) |
e90babdf | 137 | cd $(WXDIR)\samples\scroll |
289b2d61 | 138 | nmake -f makefile.vc $(MAKEFLAGS) |
ad556aa9 | 139 | cd $(WXDIR)\samples\scrollsub |
289b2d61 | 140 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 141 | cd $(WXDIR)\samples\splitter |
289b2d61 | 142 | nmake -f makefile.vc $(MAKEFLAGS) |
69d16e3e | 143 | !if "$(COMPIL)"=="" |
48c12cb1 | 144 | cd $(WXDIR)\samples\tab |
289b2d61 | 145 | nmake -f makefile.vc $(MAKEFLAGS) |
69d16e3e | 146 | !endif |
48c12cb1 | 147 | cd $(WXDIR)\samples\taskbar |
289b2d61 | 148 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 149 | cd $(WXDIR)\samples\text |
289b2d61 | 150 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 151 | cd $(WXDIR)\samples\thread |
289b2d61 | 152 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 153 | cd $(WXDIR)\samples\toolbar |
289b2d61 | 154 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 155 | cd $(WXDIR)\samples\treectrl |
289b2d61 | 156 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 157 | cd $(WXDIR)\samples\typetest |
289b2d61 | 158 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 159 | cd $(WXDIR)\samples\validate |
289b2d61 | 160 | nmake -f makefile.vc $(MAKEFLAGS) |
48c12cb1 | 161 | cd $(WXDIR)\samples\wizard |
289b2d61 | 162 | nmake -f makefile.vc $(MAKEFLAGS) |
2246169a JS |
163 | cd $(WXDIR)\samples\widgets |
164 | nmake -f makefile.vc $(MAKEFLAGS) | |
1cf4526d | 165 | cd $(WXDIR)\samples\sockets |
289b2d61 | 166 | nmake -f makefile.vc $(MAKEFLAGS) |
1ff121bd JS |
167 | |
168 | clean: | |
1cf4526d | 169 | cd $(WXDIR)\samples\calendar |
48d1144b | 170 | nmake -f makefile.vc clean |
48c12cb1 | 171 | cd $(WXDIR)\samples\caret |
48d1144b | 172 | nmake -f makefile.vc clean |
48c12cb1 | 173 | cd $(WXDIR)\samples\checklst |
48d1144b | 174 | nmake -f makefile.vc clean |
48c12cb1 | 175 | cd $(WXDIR)\samples\config |
48d1144b | 176 | nmake -f makefile.vc clean |
48c12cb1 | 177 | cd $(WXDIR)\samples\controls |
48d1144b | 178 | nmake -f makefile.vc clean |
48c12cb1 | 179 | cd $(WXDIR)\samples\db |
48d1144b | 180 | nmake -f makefile.vc clean |
1cf4526d | 181 | cd $(WXDIR)\samples\ipc |
48d1144b | 182 | nmake -f makefile.vc clean |
48c12cb1 | 183 | cd $(WXDIR)\samples\dialogs |
48d1144b | 184 | nmake -f makefile.vc clean |
48c12cb1 | 185 | cd $(WXDIR)\samples\dnd |
48d1144b | 186 | nmake -f makefile.vc clean |
1ff121bd | 187 | cd $(WXDIR)\samples\docview |
48d1144b | 188 | nmake -f makefile.vc clean |
27529614 | 189 | cd $(WXDIR)\samples\docvwmdi |
48d1144b | 190 | nmake -f makefile.vc clean |
48c12cb1 | 191 | cd $(WXDIR)\samples\drawing |
48d1144b | 192 | nmake -f makefile.vc clean |
48c12cb1 PA |
193 | cd $(WXDIR)\samples\dynamic |
194 | nmake -f makefile.vc clean | |
ad556aa9 JS |
195 | cd $(WXDIR)\samples\font |
196 | nmake -f makefile.vc clean | |
1ff121bd | 197 | cd $(WXDIR)\samples\grid |
48d1144b | 198 | nmake -f makefile.vc clean |
60a67569 JS |
199 | cd $(WXDIR)\samples\newgrid |
200 | nmake -f makefile.vc clean | |
48c12cb1 | 201 | cd $(WXDIR)\samples\help |
48d1144b | 202 | nmake -f makefile.vc clean |
48c12cb1 | 203 | cd $(WXDIR)\samples\html |
48d1144b | 204 | nmake -f makefile.vc clean |
48c12cb1 | 205 | cd $(WXDIR)\samples\image |
48d1144b | 206 | nmake -f makefile.vc clean |
48c12cb1 | 207 | cd $(WXDIR)\samples\internat |
48d1144b | 208 | nmake -f makefile.vc clean |
1ff121bd | 209 | cd $(WXDIR)\samples\joytest |
48d1144b | 210 | nmake -f makefile.vc clean |
c1ef9cdb JS |
211 | cd $(WXDIR)\samples\keyboard |
212 | nmake -f makefile.vc clean | |
48c12cb1 | 213 | cd $(WXDIR)\samples\layout |
48d1144b | 214 | nmake -f makefile.vc clean |
48c12cb1 | 215 | cd $(WXDIR)\samples\listctrl |
48d1144b | 216 | nmake -f makefile.vc clean |
48c12cb1 | 217 | cd $(WXDIR)\samples\mdi |
f3c0f9e7 | 218 | nmake -f makefile.vc clean |
1ff121bd | 219 | cd $(WXDIR)\samples\memcheck |
48d1144b | 220 | nmake -f makefile.vc clean |
48c12cb1 PA |
221 | cd $(WXDIR)\samples\mfc |
222 | nmake -f makefile.vc clean | |
ad556aa9 JS |
223 | cd $(WXDIR)\samples\menu |
224 | nmake -f makefile.vc clean | |
c030b70f | 225 | cd $(WXDIR)\samples\minifram |
48d1144b | 226 | nmake -f makefile.vc clean |
48c12cb1 | 227 | cd $(WXDIR)\samples\minimal |
48d1144b | 228 | nmake -f makefile.vc clean |
48c12cb1 | 229 | cd $(WXDIR)\samples\nativdlg |
48d1144b | 230 | nmake -f makefile.vc clean |
1cf4526d | 231 | cd $(WXDIR)\samples\dialup |
ad556aa9 | 232 | nmake -f makefile.vc clean |
48c12cb1 | 233 | cd $(WXDIR)\samples\notebook |
48d1144b | 234 | nmake -f makefile.vc clean |
48c12cb1 PA |
235 | cd $(WXDIR)\samples\oleauto |
236 | nmake -f makefile.vc clean | |
237 | cd $(WXDIR)\samples\ownerdrw | |
238 | nmake -f makefile.vc clean | |
239 | cd $(WXDIR)\samples\png | |
240 | nmake -f makefile.vc clean | |
241 | cd $(WXDIR)\samples\printing | |
48d1144b | 242 | nmake -f makefile.vc clean |
e3a43801 | 243 | cd $(WXDIR)\samples\proplist |
48d1144b | 244 | nmake -f makefile.vc clean |
48c12cb1 | 245 | cd $(WXDIR)\samples\regtest |
48d1144b | 246 | nmake -f makefile.vc clean |
48c12cb1 | 247 | cd $(WXDIR)\samples\resource |
e90babdf | 248 | nmake -f makefile.vc clean |
48c12cb1 PA |
249 | cd $(WXDIR)\samples\richedit |
250 | nmake -f makefile.vc clean | |
457e6c54 JS |
251 | cd $(WXDIR)\samples\rotate |
252 | nmake -f makefile.vc clean | |
48c12cb1 | 253 | cd $(WXDIR)\samples\sashtest |
e90babdf JS |
254 | nmake -f makefile.vc clean |
255 | cd $(WXDIR)\samples\scroll | |
256 | nmake -f makefile.vc clean | |
ad556aa9 JS |
257 | cd $(WXDIR)\samples\scrollsub |
258 | nmake -f makefile.vc clean | |
48c12cb1 PA |
259 | cd $(WXDIR)\samples\splitter |
260 | nmake -f makefile.vc clean | |
261 | cd $(WXDIR)\samples\tab | |
262 | nmake -f makefile.vc clean | |
263 | cd $(WXDIR)\samples\taskbar | |
264 | nmake -f makefile.vc clean | |
265 | cd $(WXDIR)\samples\text | |
266 | nmake -f makefile.vc clean | |
267 | cd $(WXDIR)\samples\thread | |
268 | nmake -f makefile.vc clean | |
269 | cd $(WXDIR)\samples\toolbar | |
270 | nmake -f makefile.vc clean | |
271 | cd $(WXDIR)\samples\treectrl | |
272 | nmake -f makefile.vc clean | |
273 | cd $(WXDIR)\samples\typetest | |
274 | nmake -f makefile.vc clean | |
275 | cd $(WXDIR)\samples\validate | |
276 | nmake -f makefile.vc clean | |
48c12cb1 PA |
277 | cd $(WXDIR)\samples\wizard |
278 | nmake -f makefile.vc clean | |
2246169a JS |
279 | cd $(WXDIR)\samples\widgets |
280 | nmake -f makefile.vc clean | |
1cf4526d | 281 | cd $(WXDIR)\samples\sockets |
48c12cb1 | 282 | nmake -f makefile.vc clean |
1ff121bd | 283 |