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