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