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