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