]> git.saurik.com Git - wxWidgets.git/blame - samples/makefile.vc
more wxDateTime tests
[wxWidgets.git] / samples / makefile.vc
CommitLineData
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
15WXDIR = $(WXWIN)
16
17THISDIR=$(WXDIR)\samples
18
48c12cb1
PA
19#
20# Indicates kind of pb with samples
21#
22# No makefile.vc file
23NOMAKE=1
24# No 16 bit version
25#ONLY32=1
26# Misc. compilation errors
27COMPIL=1
28# Need PNG
60a67569 29PNGSETUP=
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 36all:
48c12cb1 37 cd $(WXDIR)\samples\bombs
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)
48c12cb1 49 cd $(WXDIR)\samples\dde
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\forty
48d1144b 66 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1 67 cd $(WXDIR)\samples\fractal
48d1144b 68 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1 69 cd $(WXDIR)\samples\grid
48d1144b 70 nmake -f makefile.vc FINAL=$(FINAL)
60a67569
JS
71 cd $(WXDIR)\samples\newgrid
72 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1
PA
73!if "$(COMPIL)"==""
74 cd $(WXDIR)\samples\help
48d1144b 75 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1
PA
76!endif
77!if "$(PNGSETUP)"==""
78 cd $(WXDIR)\samples\html
48d1144b 79 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1
PA
80!endif
81 cd $(WXDIR)\samples\image
48d1144b 82 nmake -f makefile.vc FINAL=$(FINAL)
1ff121bd 83 cd $(WXDIR)\samples\internat
48d1144b 84 nmake -f makefile.vc FINAL=$(FINAL)
1ff121bd 85 cd $(WXDIR)\samples\joytest
48d1144b 86 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1 87 cd $(WXDIR)\samples\layout
48d1144b 88 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1 89 cd $(WXDIR)\samples\listctrl
48d1144b 90 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1 91 cd $(WXDIR)\samples\mdi
f3c0f9e7 92 nmake -f makefile.vc FINAL=$(FINAL)
ad556aa9
JS
93 cd $(WXDIR)\samples\menu
94 nmake -f makefile.vc FINAL=$(FINAL)
2fd284a4 95!if "$(FINAL)" == "0"
27529614 96 cd $(WXDIR)\samples\memcheck
48c12cb1 97 nmake -f makefile.vc FINAL=$(FINAL)
2fd284a4 98!endif
48c12cb1
PA
99!if "$(COMPIL)"==""
100 cd $(WXDIR)\samples\mfc
48d1144b 101 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1
PA
102!endif
103 cd $(WXDIR)\samples\minifram
48d1144b 104 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1 105 cd $(WXDIR)\samples\minimal
48d1144b 106 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1 107 cd $(WXDIR)\samples\nativdlg
48d1144b 108 nmake -f makefile.vc FINAL=$(FINAL)
ad556aa9
JS
109 cd $(WXDIR)\samples\nettest
110 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1 111 cd $(WXDIR)\samples\notebook
48d1144b 112 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1 113 cd $(WXDIR)\samples\oleauto
48d1144b 114 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1 115 cd $(WXDIR)\samples\ownerdrw
48d1144b 116 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1
PA
117 cd $(WXDIR)\samples\png
118 nmake -f makefile.vc FINAL=$(FINAL)
119 cd $(WXDIR)\samples\printing
48d1144b 120 nmake -f makefile.vc FINAL=$(FINAL)
e3a43801 121 cd $(WXDIR)\samples\proplist
48d1144b 122 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1 123 cd $(WXDIR)\samples\regtest
48d1144b 124 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1 125 cd $(WXDIR)\samples\resource
e90babdf 126 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1
PA
127!if "$(COMPIL)"==""
128 cd $(WXDIR)\samples\richedit
129 nmake -f makefile.vc FINAL=$(FINAL)
130!endif
131 cd $(WXDIR)\samples\sashtest
e90babdf
JS
132 nmake -f makefile.vc FINAL=$(FINAL)
133 cd $(WXDIR)\samples\scroll
134 nmake -f makefile.vc FINAL=$(FINAL)
ad556aa9
JS
135 cd $(WXDIR)\samples\scrollsub
136 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1
PA
137 cd $(WXDIR)\samples\splitter
138 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1
PA
139 cd $(WXDIR)\samples\tab
140 nmake -f makefile.vc FINAL=$(FINAL)
141 cd $(WXDIR)\samples\taskbar
142 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1
PA
143 cd $(WXDIR)\samples\text
144 nmake -f makefile.vc FINAL=$(FINAL)
145 cd $(WXDIR)\samples\thread
146 nmake -f makefile.vc FINAL=$(FINAL)
147 cd $(WXDIR)\samples\toolbar
148 nmake -f makefile.vc FINAL=$(FINAL)
149 cd $(WXDIR)\samples\treectrl
150 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1
PA
151 cd $(WXDIR)\samples\typetest
152 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1
PA
153 cd $(WXDIR)\samples\validate
154 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1
PA
155 cd $(WXDIR)\samples\wizard
156 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1
PA
157 cd $(WXDIR)\samples\wxpoem
158 nmake -f makefile.vc FINAL=$(FINAL)
48c12cb1
PA
159 cd $(WXDIR)\samples\wxsocket
160 nmake -f makefile.vc FINAL=$(FINAL)
1ff121bd
JS
161
162clean:
48c12cb1 163 cd $(WXDIR)\samples\bombs
48d1144b 164 nmake -f makefile.vc clean
48c12cb1 165 cd $(WXDIR)\samples\caret
48d1144b 166 nmake -f makefile.vc clean
48c12cb1 167 cd $(WXDIR)\samples\checklst
48d1144b 168 nmake -f makefile.vc clean
48c12cb1 169 cd $(WXDIR)\samples\config
48d1144b 170 nmake -f makefile.vc clean
48c12cb1 171 cd $(WXDIR)\samples\controls
48d1144b 172 nmake -f makefile.vc clean
48c12cb1 173 cd $(WXDIR)\samples\db
48d1144b 174 nmake -f makefile.vc clean
48c12cb1 175 cd $(WXDIR)\samples\dde
48d1144b 176 nmake -f makefile.vc clean
48c12cb1 177 cd $(WXDIR)\samples\dialogs
48d1144b 178 nmake -f makefile.vc clean
48c12cb1 179 cd $(WXDIR)\samples\dnd
48d1144b 180 nmake -f makefile.vc clean
1ff121bd 181 cd $(WXDIR)\samples\docview
48d1144b 182 nmake -f makefile.vc clean
27529614 183 cd $(WXDIR)\samples\docvwmdi
48d1144b 184 nmake -f makefile.vc clean
48c12cb1 185 cd $(WXDIR)\samples\drawing
48d1144b 186 nmake -f makefile.vc clean
48c12cb1
PA
187 cd $(WXDIR)\samples\dynamic
188 nmake -f makefile.vc clean
ad556aa9
JS
189 cd $(WXDIR)\samples\font
190 nmake -f makefile.vc clean
48c12cb1
PA
191 cd $(WXDIR)\samples\forty
192 nmake -f makefile.vc clean
193 cd $(WXDIR)\samples\fractal
48d1144b 194 nmake -f makefile.vc clean
1ff121bd 195 cd $(WXDIR)\samples\grid
48d1144b 196 nmake -f makefile.vc clean
60a67569
JS
197 cd $(WXDIR)\samples\newgrid
198 nmake -f makefile.vc clean
48c12cb1 199 cd $(WXDIR)\samples\help
48d1144b 200 nmake -f makefile.vc clean
48c12cb1 201 cd $(WXDIR)\samples\html
48d1144b 202 nmake -f makefile.vc clean
48c12cb1 203 cd $(WXDIR)\samples\image
48d1144b 204 nmake -f makefile.vc clean
48c12cb1 205 cd $(WXDIR)\samples\internat
48d1144b 206 nmake -f makefile.vc clean
1ff121bd 207 cd $(WXDIR)\samples\joytest
48d1144b 208 nmake -f makefile.vc clean
48c12cb1 209 cd $(WXDIR)\samples\layout
48d1144b 210 nmake -f makefile.vc clean
48c12cb1 211 cd $(WXDIR)\samples\listctrl
48d1144b 212 nmake -f makefile.vc clean
48c12cb1 213 cd $(WXDIR)\samples\mdi
f3c0f9e7 214 nmake -f makefile.vc clean
48c12cb1 215!if "$(FINAL)" == "0"
1ff121bd 216 cd $(WXDIR)\samples\memcheck
48d1144b 217 nmake -f makefile.vc clean
48c12cb1
PA
218!endif
219 cd $(WXDIR)\samples\mfc
220 nmake -f makefile.vc clean
ad556aa9
JS
221 cd $(WXDIR)\samples\menu
222 nmake -f makefile.vc clean
c030b70f 223 cd $(WXDIR)\samples\minifram
48d1144b 224 nmake -f makefile.vc clean
48c12cb1 225 cd $(WXDIR)\samples\minimal
48d1144b 226 nmake -f makefile.vc clean
48c12cb1 227 cd $(WXDIR)\samples\nativdlg
48d1144b 228 nmake -f makefile.vc clean
ad556aa9
JS
229 cd $(WXDIR)\samples\nettest
230 nmake -f makefile.vc clean
48c12cb1 231 cd $(WXDIR)\samples\notebook
48d1144b 232 nmake -f makefile.vc clean
48c12cb1
PA
233 cd $(WXDIR)\samples\oleauto
234 nmake -f makefile.vc clean
235 cd $(WXDIR)\samples\ownerdrw
236 nmake -f makefile.vc clean
237 cd $(WXDIR)\samples\png
238 nmake -f makefile.vc clean
239 cd $(WXDIR)\samples\printing
48d1144b 240 nmake -f makefile.vc clean
e3a43801 241 cd $(WXDIR)\samples\proplist
48d1144b 242 nmake -f makefile.vc clean
48c12cb1 243 cd $(WXDIR)\samples\regtest
48d1144b 244 nmake -f makefile.vc clean
48c12cb1 245 cd $(WXDIR)\samples\resource
e90babdf 246 nmake -f makefile.vc clean
48c12cb1
PA
247 cd $(WXDIR)\samples\richedit
248 nmake -f makefile.vc clean
249 cd $(WXDIR)\samples\sashtest
e90babdf
JS
250 nmake -f makefile.vc clean
251 cd $(WXDIR)\samples\scroll
252 nmake -f makefile.vc clean
ad556aa9
JS
253 cd $(WXDIR)\samples\scrollsub
254 nmake -f makefile.vc clean
48c12cb1
PA
255 cd $(WXDIR)\samples\splitter
256 nmake -f makefile.vc clean
257 cd $(WXDIR)\samples\tab
258 nmake -f makefile.vc clean
259 cd $(WXDIR)\samples\taskbar
260 nmake -f makefile.vc clean
261 cd $(WXDIR)\samples\text
262 nmake -f makefile.vc clean
263 cd $(WXDIR)\samples\thread
264 nmake -f makefile.vc clean
265 cd $(WXDIR)\samples\toolbar
266 nmake -f makefile.vc clean
267 cd $(WXDIR)\samples\treectrl
268 nmake -f makefile.vc clean
269 cd $(WXDIR)\samples\typetest
270 nmake -f makefile.vc clean
271 cd $(WXDIR)\samples\validate
272 nmake -f makefile.vc clean
273!if "$(NOMAKE)"==""
274 cd $(WXDIR)\samples\wizard
275 nmake -f makefile.vc clean
276!endif
277 cd $(WXDIR)\samples\wxpoem
278 nmake -f makefile.vc clean
279 cd $(WXDIR)\samples\wxsocket
280 nmake -f makefile.vc clean
1ff121bd 281