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