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