]> git.saurik.com Git - wxWidgets.git/blob - samples/makefile.b32
USE_OPENGL is 0 by default
[wxWidgets.git] / samples / makefile.b32
1 #
2 # File: makefile.b32
3 # Author: Julian Smart
4 # Created: 1993
5 # Updated:
6 # Copyright:
7 #
8 # "%W% %G%"
9 #
10 # Makefile : Builds samples for Win95, BC++ WIN32
11 # Use FINAL=1 argument to make 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
19 #
20 # Indicates kind of pb with samples
21 #
22 # No makefile.vc file
23 NOMAKE=1
24
25 # Misc. compilation errors
26 COMPIL=1
27
28 # Need wxUSE_ODBC; define this to compile db sample
29 ODBCSETUP=
30
31 !if "$(WXUSINGDLL)" == ""
32 WXUSINGDLL=0
33 !endif
34
35 #assume debug
36 !if "$(FINAL)" == ""
37 FINAL=0
38 !endif
39
40 !if "$(EXEDIR)" == ""
41 EXEDIR=BORL
42 !endif
43
44 !if "$(OUTPUTDIR)" == ""
45 OUTPUTDIR=$(WXDIR)\BORL
46 !endif
47
48
49 MAKEFLAGS=FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL) OUTPUTDIR=$(OUTPUTDIR) EXEDIR=$(EXEDIR)
50
51
52 #
53 # Please keep samples list up-to-date, in alphabetical order
54 # not alphabetically organised ; 29 Nov 01
55 all:
56 cd $(WXDIR)\samples\artprov
57 make -f makefile.b32 $(MAKEFLAGS)
58 cd $(WXDIR)\samples\calendar
59 make -f makefile.b32 $(MAKEFLAGS)
60 cd $(WXDIR)\samples\caret
61 make -f makefile.b32 $(MAKEFLAGS)
62 cd $(WXDIR)\samples\checklst
63 make -f makefile.b32 $(MAKEFLAGS)
64 cd $(WXDIR)\samples\config
65 make -f makefile.b32 $(MAKEFLAGS)
66 cd $(WXDIR)\samples\controls
67 make -f makefile.b32 $(MAKEFLAGS)
68 !if "$(ODBCSETUP)"=="1"
69 cd $(WXDIR)\samples\db
70 make -f makefile.b32 $(MAKEFLAGS)
71 !endif
72 cd $(WXDIR)\samples\ipc
73 make -f makefile.b32 $(MAKEFLAGS)
74 cd $(WXDIR)\samples\dialogs
75 make -f makefile.b32 $(MAKEFLAGS)
76 cd $(WXDIR)\samples\dnd
77 make -f makefile.b32 $(MAKEFLAGS)
78 cd $(WXDIR)\samples\docview
79 make -f makefile.b32 $(MAKEFLAGS)
80 cd $(WXDIR)\samples\docvwmdi
81 make -f makefile.b32 $(MAKEFLAGS)
82 cd $(WXDIR)\samples\drawing
83 make -f makefile.b32 $(MAKEFLAGS)
84 cd $(WXDIR)\samples\dynamic
85 make -f makefile.b32 $(MAKEFLAGS)
86 cd $(WXDIR)\samples\font
87 make -f makefile.b32 $(MAKEFLAGS)
88 cd $(WXDIR)\samples\grid
89 make -f makefile.b32 $(MAKEFLAGS)
90
91 cd $(WXDIR)\samples\help
92 make -f makefile.b32 $(MAKEFLAGS)
93 cd $(WXDIR)\samples\html
94 make -f makefile.b32 $(MAKEFLAGS)
95 cd $(WXDIR)\samples\keyboard
96 make -f makefile.b32 $(MAKEFLAGS)
97 cd $(WXDIR)\samples\image
98 make -f makefile.b32 $(MAKEFLAGS)
99 cd $(WXDIR)\samples\internat
100 make -f makefile.b32 $(MAKEFLAGS)
101 cd $(WXDIR)\samples\joytest
102 make -f makefile.b32 $(MAKEFLAGS)
103 cd $(WXDIR)\samples\layout
104 make -f makefile.b32 $(MAKEFLAGS)
105 cd $(WXDIR)\samples\listctrl
106 make -f makefile.b32 $(MAKEFLAGS)
107 cd $(WXDIR)\samples\mdi
108 make -f makefile.b32 $(MAKEFLAGS)
109 cd $(WXDIR)\samples\menu
110 make -f makefile.b32 $(MAKEFLAGS)
111 !if "$(COMPIL)" == "0"
112 cd $(WXDIR)\samples\memcheck
113 make -f makefile.b32 $(MAKEFLAGS)
114 !endif
115 !if "$(COMPIL)"==""
116 cd $(WXDIR)\samples\mfc
117 make -f makefile.b32 $(MAKEFLAGS)
118 !endif
119 cd $(WXDIR)\samples\minifram
120 make -f makefile.b32 $(MAKEFLAGS)
121 cd $(WXDIR)\samples\minimal
122 make -f makefile.b32 $(MAKEFLAGS)
123 cd $(WXDIR)\samples\nativdlg
124 make -f makefile.b32 $(MAKEFLAGS)
125 !if "$(COMPIL)"==""
126 cd $(WXDIR)\samples\dialup
127 make -f makefile.b32 $(MAKEFLAGS)
128 !endif
129 cd $(WXDIR)\samples\notebook
130 make -f makefile.b32 $(MAKEFLAGS)
131 cd $(WXDIR)\samples\oleauto
132 make -f makefile.b32 $(MAKEFLAGS)
133 cd $(WXDIR)\samples\ownerdrw
134 make -f makefile.b32 $(MAKEFLAGS)
135 cd $(WXDIR)\samples\png
136 make -f makefile.b32 $(MAKEFLAGS)
137 cd $(WXDIR)\samples\printing
138 make -f makefile.b32 $(MAKEFLAGS)
139 cd $(WXDIR)\samples\regtest
140 make -f makefile.b32 $(MAKEFLAGS)
141 cd $(WXDIR)\samples\rotate
142 make -f makefile.b32 $(MAKEFLAGS)
143 cd $(WXDIR)\samples\sashtest
144 make -f makefile.b32 $(MAKEFLAGS)
145 cd $(WXDIR)\samples\scroll
146 make -f makefile.b32 $(MAKEFLAGS)
147 cd $(WXDIR)\samples\scrollsub
148 make -f makefile.b32 $(MAKEFLAGS)
149 cd $(WXDIR)\samples\splitter
150 make -f makefile.b32 $(MAKEFLAGS)
151 !if "$(COMPIL)"==""
152 cd $(WXDIR)\samples\tab
153 make -f makefile.b32 $(MAKEFLAGS)
154 !endif
155 cd $(WXDIR)\samples\taskbar
156 make -f makefile.b32 $(MAKEFLAGS)
157 cd $(WXDIR)\samples\text
158 make -f makefile.b32 $(MAKEFLAGS)
159 cd $(WXDIR)\samples\thread
160 make -f makefile.b32 $(MAKEFLAGS)
161 cd $(WXDIR)\samples\toolbar
162 make -f makefile.b32 $(MAKEFLAGS)
163 cd $(WXDIR)\samples\treectrl
164 make -f makefile.b32 $(MAKEFLAGS)
165 cd $(WXDIR)\samples\typetest
166 make -f makefile.b32 $(MAKEFLAGS)
167 cd $(WXDIR)\samples\validate
168 make -f makefile.b32 $(MAKEFLAGS)
169 cd $(WXDIR)\samples\wizard
170 make -f makefile.b32 $(MAKEFLAGS)
171 cd $(WXDIR)\samples\dragimag
172 make -f makefile.b32 $(MAKEFLAGS)
173 cd $(WXDIR)\samples\exec
174 make -f makefile.b32 $(MAKEFLAGS)
175 cd $(WXDIR)\samples\statbar
176 make -f makefile.b32 $(MAKEFLAGS)
177 cd $(WXDIR)\samples\sockets
178 make -f makefile.b32 $(MAKEFLAGS)
179 cd $(WXDIR)\samples\widgets
180 make -f makefile.b32 $(MAKEFLAGS)
181 cd $(WXDIR)\samples\tab
182 make -f makefile.b32 $(MAKEFLAGS)
183 cd $(WXDIR)\samples\erase
184 make -f makefile.b32 $(MAKEFLAGS)
185 cd $(WXDIR)\samples\event
186 make -f makefile.b32 $(MAKEFLAGS)
187 cd $(WXDIR)\samples\propsize
188 make -f makefile.b32 $(MAKEFLAGS)
189
190 clean:
191 cd $(WXDIR)\samples\artprov
192 make -f makefile.b32 $(MAKEFLAGS) clean
193 cd $(WXDIR)\samples\calendar
194 make -f makefile.b32 $(MAKEFLAGS) clean
195 cd $(WXDIR)\samples\caret
196 make -f makefile.b32 $(MAKEFLAGS) clean
197 cd $(WXDIR)\samples\checklst
198 make -f makefile.b32 $(MAKEFLAGS) clean
199 cd $(WXDIR)\samples\config
200 make -f makefile.b32 $(MAKEFLAGS) clean
201 cd $(WXDIR)\samples\controls
202 make -f makefile.b32 $(MAKEFLAGS) clean
203 cd $(WXDIR)\samples\db
204 make -f makefile.b32 $(MAKEFLAGS) clean
205 cd $(WXDIR)\samples\ipc
206 make -f makefile.b32 $(MAKEFLAGS) clean
207 cd $(WXDIR)\samples\dialogs
208 make -f makefile.b32 $(MAKEFLAGS) clean
209 cd $(WXDIR)\samples\dnd
210 make -f makefile.b32 $(MAKEFLAGS) clean
211 cd $(WXDIR)\samples\docview
212 make -f makefile.b32 $(MAKEFLAGS) clean
213 cd $(WXDIR)\samples\docvwmdi
214 make -f makefile.b32 $(MAKEFLAGS) clean
215 cd $(WXDIR)\samples\drawing
216 make -f makefile.b32 $(MAKEFLAGS) clean
217 cd $(WXDIR)\samples\dynamic
218 make -f makefile.b32 $(MAKEFLAGS) clean
219 cd $(WXDIR)\samples\font
220 make -f makefile.b32 $(MAKEFLAGS) clean
221 cd $(WXDIR)\samples\grid
222 make -f makefile.b32 $(MAKEFLAGS) clean
223 cd $(WXDIR)\samples\help
224 make -f makefile.b32 $(MAKEFLAGS) clean
225 cd $(WXDIR)\samples\html
226 make -f makefile.b32 $(MAKEFLAGS) clean
227 cd $(WXDIR)\samples\image
228 make -f makefile.b32 $(MAKEFLAGS) clean
229 cd $(WXDIR)\samples\internat
230 make -f makefile.b32 $(MAKEFLAGS) clean
231 cd $(WXDIR)\samples\keyboard
232 make -f makefile.b32 $(MAKEFLAGS) clean
233 cd $(WXDIR)\samples\joytest
234 make -f makefile.b32 $(MAKEFLAGS) clean
235 cd $(WXDIR)\samples\layout
236 make -f makefile.b32 $(MAKEFLAGS) clean
237 cd $(WXDIR)\samples\listctrl
238 make -f makefile.b32 $(MAKEFLAGS) clean
239 cd $(WXDIR)\samples\mdi
240 make -f makefile.b32 $(MAKEFLAGS) clean
241 cd $(WXDIR)\samples\memcheck
242 make -f makefile.b32 $(MAKEFLAGS) clean
243 cd $(WXDIR)\samples\mfc
244 make -f makefile.b32 $(MAKEFLAGS) clean
245 cd $(WXDIR)\samples\menu
246 make -f makefile.b32 $(MAKEFLAGS) clean
247 cd $(WXDIR)\samples\minifram
248 make -f makefile.b32 $(MAKEFLAGS) clean
249 cd $(WXDIR)\samples\minimal
250 make -f makefile.b32 $(MAKEFLAGS) clean
251 cd $(WXDIR)\samples\nativdlg
252 make -f makefile.b32 $(MAKEFLAGS) clean
253 cd $(WXDIR)\samples\dialup
254 make -f makefile.b32 $(MAKEFLAGS) clean
255 cd $(WXDIR)\samples\notebook
256 make -f makefile.b32 $(MAKEFLAGS) clean
257 cd $(WXDIR)\samples\oleauto
258 make -f makefile.b32 $(MAKEFLAGS) clean
259 cd $(WXDIR)\samples\ownerdrw
260 make -f makefile.b32 $(MAKEFLAGS) clean
261 cd $(WXDIR)\samples\png
262 make -f makefile.b32 $(MAKEFLAGS) clean
263 cd $(WXDIR)\samples\printing
264 make -f makefile.b32 $(MAKEFLAGS) clean
265 cd $(WXDIR)\samples\regtest
266 make -f makefile.b32 $(MAKEFLAGS) clean
267 cd $(WXDIR)\samples\rotate
268 make -f makefile.b32 $(MAKEFLAGS) clean
269 cd $(WXDIR)\samples\sashtest
270 make -f makefile.b32 $(MAKEFLAGS) clean
271 cd $(WXDIR)\samples\scroll
272 make -f makefile.b32 $(MAKEFLAGS) clean
273 cd $(WXDIR)\samples\scrollsub
274 make -f makefile.b32 $(MAKEFLAGS) clean
275 cd $(WXDIR)\samples\splitter
276 make -f makefile.b32 $(MAKEFLAGS) clean
277 cd $(WXDIR)\samples\tab
278 make -f makefile.b32 $(MAKEFLAGS) clean
279 cd $(WXDIR)\samples\taskbar
280 make -f makefile.b32 $(MAKEFLAGS) clean
281 cd $(WXDIR)\samples\text
282 make -f makefile.b32 $(MAKEFLAGS) clean
283 cd $(WXDIR)\samples\thread
284 make -f makefile.b32 $(MAKEFLAGS) clean
285 cd $(WXDIR)\samples\toolbar
286 make -f makefile.b32 $(MAKEFLAGS) clean
287 cd $(WXDIR)\samples\treectrl
288 make -f makefile.b32 $(MAKEFLAGS) clean
289 cd $(WXDIR)\samples\typetest
290 make -f makefile.b32 $(MAKEFLAGS) clean
291 cd $(WXDIR)\samples\validate
292 make -f makefile.b32 $(MAKEFLAGS) clean
293 cd $(WXDIR)\samples\wizard
294 make -f makefile.b32 $(MAKEFLAGS) clean
295 cd $(WXDIR)\samples\dragimag
296 make -f makefile.b32 $(MAKEFLAGS) clean
297 cd $(WXDIR)\samples\erase
298 make -f makefile.b32 $(MAKEFLAGS) clean
299 cd $(WXDIR)\samples\exec
300 make -f makefile.b32 $(MAKEFLAGS) clean
301 cd $(WXDIR)\samples\event
302 make -f makefile.b32 $(MAKEFLAGS) clean
303 cd $(WXDIR)\samples\statbar
304 make -f makefile.b32 $(MAKEFLAGS) clean
305 cd $(WXDIR)\samples\propsize
306 make -f makefile.b32 $(MAKEFLAGS) clean
307 cd $(WXDIR)\samples\sockets
308 make -f makefile.b32 $(MAKEFLAGS) clean
309 cd $(WXDIR)\samples\treectrl
310 make -f makefile.b32 $(MAKEFLAGS) clean
311 cd $(WXDIR)\samples\tab
312 make -f makefile.b32 $(MAKEFLAGS) clean
313 cd $(WXDIR)\samples\widgets
314 make -f makefile.b32 $(MAKEFLAGS) clean
315