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