]>
Commit | Line | Data |
---|---|---|
2bda0e17 KB |
1 | # |
2 | # File: makefile.dos | |
3 | # Author: Julian Smart | |
4 | # Created: 1997 | |
5 | # Updated: | |
6 | # Copyright: (c) 1997, Julian Smart | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile : Builds wxWindows library wx.lib for VC++ (16-bit) | |
11 | # Arguments: | |
12 | # | |
13 | # FINAL=1 argument to nmake to build version with no debugging info. | |
14 | # | |
15 | !include <..\makemsc.env> | |
16 | ||
17 | LIBTARGET=$(WXLIB) | |
18 | DUMMYOBJ=dummy.obj | |
19 | ||
20 | # Please set these according to the settings in wx_setup.h, so we can include | |
21 | # the appropriate libraries in wx.lib | |
22 | ||
23 | # This one overrides the others, to be consistent with the settings in wx_setup.h | |
24 | MINIMAL_WXWINDOWS_SETUP=0 | |
25 | ||
2bda0e17 | 26 | USE_XPM_IN_MSW=0 |
1e6d9499 | 27 | USE_CTL3D=1 |
2bda0e17 KB |
28 | |
29 | !if "$(MINIMAL_WXWINDOWS_SETUP)" == "1" | |
30 | USE_CTL3D=0 | |
2bda0e17 | 31 | USE_XPM_IN_MSW=0 |
2bda0e17 KB |
32 | !endif |
33 | ||
34 | PERIPH_LIBS= | |
35 | PERIPH_TARGET= | |
36 | PERIPH_CLEAN_TARGET= | |
37 | ||
38 | # !if "$(USE_CTL3D)" == "1" | |
39 | # PERIPH_LIBS=d:\msdev\lib\ctl3d32.lib $(PERIPH_LIBS) | |
40 | # !endif | |
41 | ||
42 | !if "$(USE_XPM_IN_MSW)" == "1" | |
43 | PERIPH_LIBS=$(WXDIR)\contrib\wxxpm\xpm.lib $(PERIPH_LIBS) | |
44 | PERIPH_TARGET=xpm $(PERIPH_TARGET) | |
45 | PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET) | |
46 | !endif | |
47 | ||
48 | GENDIR=..\generic | |
49 | COMMDIR=..\common | |
50 | OLEDIR=.\ole | |
51 | MSWDIR=. | |
52 | ||
2bda0e17 KB |
53 | GENERICOBJS= \ |
54 | $(GENDIR)\choicdgg.obj \ | |
1e6d9499 | 55 | $(GENDIR)\dirdlgg.obj \ |
2bda0e17 | 56 | $(GENDIR)\gridg.obj \ |
1e6d9499 JS |
57 | $(GENDIR)\imaglist.obj \ |
58 | $(GENDIR)\listctrl.obj \ | |
59 | $(GENDIR)\notebook.obj \ | |
2bda0e17 | 60 | $(GENDIR)\panelg.obj \ |
e3a43801 JS |
61 | $(GENDIR)\prop.obj \ |
62 | $(GENDIR)\propform.obj \ | |
63 | $(GENDIR)\proplist.obj \ | |
2bda0e17 KB |
64 | $(GENDIR)\scrolwin.obj \ |
65 | $(GENDIR)\splitter.obj \ | |
66 | $(GENDIR)\statusbr.obj \ | |
67 | $(GENDIR)\tabg.obj \ | |
1e6d9499 JS |
68 | $(GENDIR)\textdlgg.obj\ |
69 | $(GENDIR)\treectrl.obj | |
70 | ||
71 | # Don't need these generic objects for Windows | |
72 | # $(GENDIR)\msgdlgg.obj \ | |
73 | # $(GENDIR)\fontdlgg.obj \ | |
74 | # $(GENDIR)\colrdlgg.obj \ | |
75 | # $(GENDIR)\printps.obj \ | |
76 | # $(GENDIR)\prntdlgg.obj \ | |
77 | # $(GENDIR)\helpxlp.obj \ | |
78 | ||
2bda0e17 KB |
79 | COMMONOBJS = \ |
80 | $(COMMDIR)\config.obj \ | |
81 | $(COMMDIR)\cmndata.obj \ | |
82 | $(COMMDIR)\docview.obj \ | |
2108f33a | 83 | $(COMMDIR)\docmdi.obj \ |
2bda0e17 KB |
84 | $(COMMDIR)\dynarray.obj \ |
85 | $(COMMDIR)\event.obj \ | |
86 | $(COMMDIR)\file.obj \ | |
87 | $(COMMDIR)\filefn.obj \ | |
3d8bd7d6 | 88 | $(COMMDIR)\framecmn.obj \ |
2bda0e17 KB |
89 | $(COMMDIR)\gdicmn.obj \ |
90 | $(COMMDIR)\intl.obj \ | |
91 | $(COMMDIR)\helpbase.obj \ | |
92 | $(COMMDIR)\ipcbase.obj \ | |
93 | $(COMMDIR)\layout.obj \ | |
94 | $(COMMDIR)\log.obj \ | |
95 | $(COMMDIR)\memory.obj \ | |
96 | $(COMMDIR)\module.obj \ | |
97 | $(COMMDIR)\object.obj \ | |
98 | $(COMMDIR)\odbc.obj \ | |
6a6c0a8b | 99 | $(COMMDIR)\process.obj \ |
2bda0e17 KB |
100 | $(COMMDIR)\prntbase.obj \ |
101 | $(COMMDIR)\resource.obj \ | |
102 | $(COMMDIR)\tbarbase.obj \ | |
103 | $(COMMDIR)\tbarsmpl.obj \ | |
104 | $(COMMDIR)\textfile.obj \ | |
105 | $(COMMDIR)\timercmn.obj \ | |
106 | $(COMMDIR)\utilscmn.obj \ | |
107 | $(COMMDIR)\validate.obj \ | |
89c684ef | 108 | $(COMMDIR)\valgen.obj \ |
2bda0e17 KB |
109 | $(COMMDIR)\valtext.obj \ |
110 | $(COMMDIR)\date.obj \ | |
111 | $(COMMDIR)\wxexpr.obj \ | |
112 | $(COMMDIR)\hash.obj \ | |
113 | $(COMMDIR)\list.obj \ | |
341287bf | 114 | $(COMMDIR)\variant.obj \ |
2bda0e17 KB |
115 | $(COMMDIR)\string.obj \ |
116 | $(COMMDIR)\time.obj \ | |
cf447356 | 117 | $(COMMDIR)\y_tab.obj \ |
3d4c6a21 | 118 | $(COMMDIR)\stream.obj \ |
25331334 | 119 | $(COMMDIR)\wfstream.obj \ |
3d4c6a21 | 120 | $(COMMDIR)\mstream.obj \ |
79c3e0e1 | 121 | $(COMMDIR)\zstream.obj \ |
cf447356 | 122 | $(COMMDIR)\datstrm.obj \ |
3d8bd7d6 JS |
123 | $(COMMDIR)\extended.obj \ |
124 | $(COMMDIR)\wincmn.obj | |
2bda0e17 | 125 | |
1e6d9499 JS |
126 | # Doesn't compile (nested classes) |
127 | # $(COMMDIR)\fileconf.obj\ | |
128 | ||
2432b92d JS |
129 | # Uses WIN32 registry functions |
130 | # $(COMMDIR)\mimetype.obj \ | |
131 | ||
1e6d9499 JS |
132 | # Fails when including png.h, on jmp_buf. |
133 | # $(COMMDIR)\image.obj \ | |
81d66cf3 | 134 | |
2bda0e17 | 135 | MSWOBJS = \ |
57a7b7c1 | 136 | $(MSWDIR)\accel.obj \ |
2bda0e17 KB |
137 | $(MSWDIR)\app.obj \ |
138 | $(MSWDIR)\bitmap.obj \ | |
139 | $(MSWDIR)\bmpbuttn.obj \ | |
140 | $(MSWDIR)\brush.obj \ | |
141 | $(MSWDIR)\button.obj \ | |
142 | $(MSWDIR)\checkbox.obj \ | |
143 | $(MSWDIR)\checklst.obj \ | |
144 | $(MSWDIR)\choice.obj \ | |
145 | $(MSWDIR)\clipbrd.obj \ | |
146 | $(MSWDIR)\colordlg.obj \ | |
147 | $(MSWDIR)\colour.obj \ | |
148 | $(MSWDIR)\combobox.obj \ | |
149 | $(MSWDIR)\control.obj \ | |
150 | $(MSWDIR)\curico.obj \ | |
151 | $(MSWDIR)\cursor.obj \ | |
152 | $(MSWDIR)\data.obj \ | |
153 | $(MSWDIR)\dc.obj \ | |
154 | $(MSWDIR)\dcmemory.obj \ | |
155 | $(MSWDIR)\dcclient.obj \ | |
156 | $(MSWDIR)\dcprint.obj \ | |
157 | $(MSWDIR)\dcscreen.obj \ | |
158 | $(MSWDIR)\dde.obj \ | |
159 | $(MSWDIR)\dialog.obj \ | |
160 | $(MSWDIR)\dib.obj \ | |
2bda0e17 KB |
161 | $(MSWDIR)\filedlg.obj \ |
162 | $(MSWDIR)\font.obj \ | |
163 | $(MSWDIR)\fontdlg.obj \ | |
164 | $(MSWDIR)\frame.obj \ | |
da87a1ca | 165 | $(MSWDIR)\gaugemsw.obj \ |
2bda0e17 KB |
166 | $(MSWDIR)\gdiobj.obj \ |
167 | $(MSWDIR)\helpwin.obj \ | |
168 | $(MSWDIR)\icon.obj \ | |
1e6d9499 | 169 | $(MSWDIR)\iniconf.obj\ |
2bda0e17 KB |
170 | $(MSWDIR)\joystick.obj \ |
171 | $(MSWDIR)\listbox.obj \ | |
2bda0e17 KB |
172 | $(MSWDIR)\main.obj \ |
173 | $(MSWDIR)\mdi.obj \ | |
5260b1c5 | 174 | $(MSWDIR)\menu.obj\ |
2bda0e17 KB |
175 | $(MSWDIR)\menuitem.obj \ |
176 | $(MSWDIR)\metafile.obj \ | |
177 | $(MSWDIR)\minifram.obj \ | |
178 | $(MSWDIR)\msgdlg.obj \ | |
179 | $(MSWDIR)\nativdlg.obj \ | |
180 | $(MSWDIR)\ownerdrw.obj \ | |
181 | $(MSWDIR)\palette.obj \ | |
182 | $(MSWDIR)\pen.obj \ | |
183 | $(MSWDIR)\penwin.obj \ | |
184 | $(MSWDIR)\printdlg.obj \ | |
185 | $(MSWDIR)\printwin.obj \ | |
186 | $(MSWDIR)\radiobox.obj \ | |
187 | $(MSWDIR)\radiobut.obj \ | |
188 | $(MSWDIR)\region.obj \ | |
189 | $(MSWDIR)\scrolbar.obj \ | |
190 | $(MSWDIR)\settings.obj \ | |
da87a1ca | 191 | $(MSWDIR)\slidrmsw.obj \ |
2bda0e17 KB |
192 | $(MSWDIR)\spinbutt.obj \ |
193 | $(MSWDIR)\statbmp.obj \ | |
194 | $(MSWDIR)\statbox.obj \ | |
195 | $(MSWDIR)\stattext.obj \ | |
2bda0e17 KB |
196 | $(MSWDIR)\tbarmsw.obj \ |
197 | $(MSWDIR)\textctrl.obj \ | |
198 | $(MSWDIR)\timer.obj \ | |
2bda0e17 | 199 | $(MSWDIR)\utils.obj \ |
5260b1c5 | 200 | $(MSWDIR)\utilsexc.obj \ |
2bda0e17 KB |
201 | $(MSWDIR)\wave.obj \ |
202 | $(MSWDIR)\window.obj \ | |
43d811ea | 203 | $(OLEDIR)\dropsrc.obj \ |
1e6d9499 | 204 | $(OLEDIR)\droptgt.obj |
2bda0e17 | 205 | |
1e6d9499 JS |
206 | # $(OLEDIR)\automtn.obj \ |
207 | # $(OLEDIR)\dataobj.obj \ | |
208 | # $(OLEDIR)\oleutils.obj \ | |
209 | # $(OLEDIR)\uuid.obj | |
acbd13a3 | 210 | # $(MSWDIR)\tooltip.obj \ |
1e6d9499 | 211 | |
2fd284a4 JS |
212 | # TODO: Implement XPM and PNG targets in this makefile! |
213 | # $(OLEDIR)\xpmhand \ | |
214 | # $(OLEDIR)\pnghand \ | |
215 | ||
1e6d9499 | 216 | # Not appropriate for 16-bit Windows |
2bda0e17 | 217 | # $(MSWDIR)\registry.obj \ |
1e6d9499 JS |
218 | # $(MSWDIR)\dirdlg.obj \ |
219 | # $(MSWDIR)\treectrl.obj \ | |
220 | # $(MSWDIR)\listctrl.obj \ | |
2bda0e17 KB |
221 | |
222 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) | |
223 | ||
224 | # Normal, static library | |
225 | all: $(DUMMYOBJ) $(WXDIR)\lib\wx1.lib $(WXDIR)\lib\wx2.lib $(WXDIR)\lib\wx3.lib | |
226 | ||
227 | ||
228 | #$(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS) | |
229 | # -erase $(LIBTARGET) | |
230 | # lib /PAGESIZE:128 @<< | |
231 | #$(LIBTARGET) | |
232 | #y | |
233 | #$(OBJECTS) $(PERIPH_LIBS) | |
234 | #nul | |
235 | #; | |
236 | #<< | |
237 | ||
238 | $(WXDIR)\lib\wx1.lib: $(COMMONOBJS) $(PERIPH_LIBS) | |
239 | -erase $(WXDIR)\lib\wx1.lib | |
240 | lib /PAGESIZE:128 @<< | |
241 | $(WXDIR)\lib\wx1.lib | |
242 | y | |
243 | $(COMMONOBJS) $(PERIPH_LIBS) | |
244 | nul | |
245 | ; | |
246 | << | |
247 | ||
248 | $(WXDIR)\lib\wx2.lib: $(GENERICOBJS) | |
249 | -erase $(WXDIR)\lib\wx2.lib | |
250 | lib /PAGESIZE:128 @<< | |
251 | $(WXDIR)\lib\wx2.lib | |
252 | y | |
253 | $(GENERICOBJS) | |
254 | nul | |
255 | ; | |
256 | << | |
257 | ||
258 | $(WXDIR)\lib\wx3.lib: $(MSWOBJS) | |
259 | -erase $(WXDIR)\lib\wx3.lib | |
260 | lib /PAGESIZE:128 @<< | |
261 | $(WXDIR)\lib\wx3.lib | |
262 | y | |
263 | $(MSWOBJS) | |
264 | nul | |
265 | ; | |
266 | << | |
267 | ||
268 | ######################################################## | |
269 | # Windows-specific objects | |
270 | ||
271 | dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
272 | cl @<< | |
273 | cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF) | |
274 | << | |
275 | ||
276 | #dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
277 | # cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF) | |
278 | ||
279 | dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
280 | cl @<< | |
281 | $(CPPFLAGS) /YcWX/WXPREC.H /c /Tp $*.$(SRCSUFF) | |
282 | << | |
283 | ||
57a7b7c1 JS |
284 | $(MSWDIR)/accel.obj: $*.$(SRCSUFF) |
285 | cl @<< | |
286 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
287 | << | |
288 | ||
2bda0e17 KB |
289 | $(MSWDIR)/app.obj: $*.$(SRCSUFF) |
290 | cl @<< | |
291 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
292 | << | |
293 | ||
294 | $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF) | |
295 | cl @<< | |
296 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
297 | << | |
298 | ||
299 | $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF) | |
300 | cl @<< | |
301 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
302 | << | |
303 | ||
304 | $(MSWDIR)/brush.obj: $*.$(SRCSUFF) | |
305 | cl @<< | |
306 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
307 | << | |
308 | ||
309 | $(MSWDIR)/button.obj: $*.$(SRCSUFF) | |
310 | cl @<< | |
311 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
312 | << | |
313 | ||
314 | $(MSWDIR)/choice.obj: $*.$(SRCSUFF) | |
315 | cl @<< | |
316 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
317 | << | |
318 | ||
319 | $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF) | |
320 | cl @<< | |
321 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
322 | << | |
323 | ||
324 | $(MSWDIR)/checklst.obj: $*.$(SRCSUFF) | |
325 | cl @<< | |
326 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
327 | << | |
328 | ||
329 | $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF) | |
330 | cl @<< | |
331 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
332 | << | |
333 | ||
334 | $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF) | |
335 | cl @<< | |
336 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
337 | << | |
338 | ||
339 | $(MSWDIR)/colour.obj: $*.$(SRCSUFF) | |
340 | cl @<< | |
341 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
342 | << | |
343 | ||
344 | $(MSWDIR)/combobox.obj: $*.$(SRCSUFF) | |
345 | cl @<< | |
346 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
347 | << | |
348 | ||
349 | $(MSWDIR)/control.obj: $*.$(SRCSUFF) | |
350 | cl @<< | |
351 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
352 | << | |
353 | ||
354 | $(MSWDIR)/curico.obj: $*.$(SRCSUFF) | |
355 | cl @<< | |
356 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
357 | << | |
358 | ||
359 | $(MSWDIR)/cursor.obj: $*.$(SRCSUFF) | |
360 | cl @<< | |
361 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
362 | << | |
363 | ||
364 | $(MSWDIR)/data.obj: $*.$(SRCSUFF) | |
365 | cl @<< | |
366 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
367 | << | |
368 | ||
369 | $(MSWDIR)/dc.obj: $*.$(SRCSUFF) | |
370 | cl @<< | |
371 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
372 | << | |
373 | ||
374 | $(MSWDIR)/dde.obj: $*.$(SRCSUFF) | |
375 | cl @<< | |
376 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
377 | << | |
378 | ||
379 | $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF) | |
380 | cl @<< | |
381 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
382 | << | |
383 | ||
384 | $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF) | |
385 | cl @<< | |
386 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
387 | << | |
388 | ||
389 | $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF) | |
390 | cl @<< | |
391 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
392 | << | |
393 | ||
394 | $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF) | |
395 | cl @<< | |
396 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
397 | << | |
398 | ||
399 | $(MSWDIR)/dialog.obj: $*.$(SRCSUFF) | |
400 | cl @<< | |
401 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
402 | << | |
403 | ||
404 | $(MSWDIR)/dib.obj: $*.$(SRCSUFF) | |
405 | cl @<< | |
406 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
407 | << | |
408 | ||
409 | $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF) | |
410 | cl @<< | |
411 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
412 | << | |
413 | ||
414 | $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF) | |
415 | cl @<< | |
416 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
417 | << | |
418 | ||
419 | $(MSWDIR)/font.obj: $*.$(SRCSUFF) | |
420 | cl @<< | |
421 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
422 | << | |
423 | ||
424 | $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF) | |
425 | cl @<< | |
426 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
427 | << | |
428 | ||
429 | $(MSWDIR)/frame.obj: $*.$(SRCSUFF) | |
430 | cl @<< | |
431 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
432 | << | |
433 | ||
da87a1ca | 434 | $(MSWDIR)/gaugemsw.obj: $*.$(SRCSUFF) |
2bda0e17 KB |
435 | cl @<< |
436 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
437 | << | |
438 | ||
439 | $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF) | |
440 | cl @<< | |
441 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
442 | << | |
443 | ||
444 | $(MSWDIR)/helpwin.obj: $*.$(SRCSUFF) | |
445 | cl @<< | |
446 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
447 | << | |
448 | ||
449 | $(MSWDIR)/icon.obj: $*.$(SRCSUFF) | |
450 | cl @<< | |
451 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
452 | << | |
453 | ||
1e6d9499 JS |
454 | $(MSWDIR)/iniconf.obj: $*.$(SRCSUFF) |
455 | cl @<< | |
456 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
457 | << | |
458 | ||
2bda0e17 KB |
459 | $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF) |
460 | cl @<< | |
461 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
462 | << | |
463 | ||
464 | $(MSWDIR)/joystick.obj: $*.$(SRCSUFF) | |
465 | cl @<< | |
466 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
467 | << | |
468 | ||
469 | $(MSWDIR)/listbox.obj: $*.$(SRCSUFF) | |
470 | cl @<< | |
471 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
472 | << | |
473 | ||
474 | $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF) | |
475 | cl @<< | |
476 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
477 | << | |
478 | ||
479 | $(MSWDIR)/main.obj: $*.$(SRCSUFF) | |
480 | cl @<< | |
481 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
482 | << | |
483 | ||
484 | $(MSWDIR)/mdi.obj: $*.$(SRCSUFF) | |
485 | cl @<< | |
486 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
487 | << | |
488 | ||
489 | $(MSWDIR)/menu.obj: $*.$(SRCSUFF) | |
490 | cl @<< | |
491 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
492 | << | |
493 | ||
494 | $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF) | |
495 | cl @<< | |
496 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
497 | << | |
498 | ||
499 | $(MSWDIR)/metafile.obj: $*.$(SRCSUFF) | |
500 | cl @<< | |
501 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
502 | << | |
503 | ||
504 | $(MSWDIR)/minifram.obj: $*.$(SRCSUFF) | |
505 | cl @<< | |
506 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
507 | << | |
508 | ||
509 | $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF) | |
510 | cl @<< | |
511 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
512 | << | |
513 | ||
514 | $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF) | |
515 | cl @<< | |
516 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
517 | << | |
518 | ||
519 | $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF) | |
520 | cl @<< | |
521 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
522 | << | |
523 | ||
524 | $(MSWDIR)/palette.obj: $*.$(SRCSUFF) | |
525 | cl @<< | |
526 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
527 | << | |
528 | ||
529 | $(MSWDIR)/pen.obj: $*.$(SRCSUFF) | |
530 | cl @<< | |
531 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
532 | << | |
533 | ||
534 | $(MSWDIR)/penwin.obj: $*.$(SRCSUFF) | |
535 | cl @<< | |
536 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
537 | << | |
538 | ||
539 | $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF) | |
540 | cl @<< | |
541 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
542 | << | |
543 | ||
544 | $(MSWDIR)/printwin.obj: $*.$(SRCSUFF) | |
545 | cl @<< | |
546 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
547 | << | |
548 | ||
549 | $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF) | |
550 | cl @<< | |
551 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
552 | << | |
553 | ||
554 | $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF) | |
555 | cl @<< | |
556 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
557 | << | |
558 | ||
559 | $(MSWDIR)/region.obj: $*.$(SRCSUFF) | |
560 | cl @<< | |
561 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
562 | << | |
563 | ||
564 | $(MSWDIR)/registry.obj: $*.$(SRCSUFF) | |
565 | cl @<< | |
566 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
567 | << | |
568 | ||
569 | $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF) | |
570 | cl @<< | |
571 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
572 | << | |
573 | ||
574 | $(MSWDIR)/settings.obj: $*.$(SRCSUFF) | |
575 | cl @<< | |
576 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
577 | << | |
578 | ||
da87a1ca | 579 | $(MSWDIR)/slidrmsw.obj: $*.$(SRCSUFF) |
2bda0e17 KB |
580 | cl @<< |
581 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
582 | << | |
583 | ||
584 | $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF) | |
585 | cl @<< | |
586 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
587 | << | |
588 | ||
589 | $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF) | |
590 | cl @<< | |
591 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
592 | << | |
593 | ||
594 | $(MSWDIR)/statbox.obj: $*.$(SRCSUFF) | |
595 | cl @<< | |
596 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
597 | << | |
598 | ||
599 | $(MSWDIR)/stattext.obj: $*.$(SRCSUFF) | |
600 | cl @<< | |
601 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
602 | << | |
603 | ||
2bda0e17 KB |
604 | $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF) |
605 | cl @<< | |
606 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
607 | << | |
608 | ||
609 | $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF) | |
610 | cl @<< | |
611 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
612 | << | |
613 | ||
614 | $(MSWDIR)/timer.obj: $*.$(SRCSUFF) | |
615 | cl @<< | |
616 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
617 | << | |
618 | ||
1f112209 JS |
619 | $(MSWDIR)/tooltip.obj: $*.$(SRCSUFF) |
620 | cl @<< | |
621 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
622 | << | |
623 | ||
2bda0e17 KB |
624 | $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF) |
625 | cl @<< | |
626 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
627 | << | |
628 | ||
629 | $(MSWDIR)/utils.obj: $*.$(SRCSUFF) | |
630 | cl @<< | |
631 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
632 | << | |
633 | ||
5260b1c5 JS |
634 | $(MSWDIR)/utilsexc.obj: $*.$(SRCSUFF) |
635 | cl @<< | |
636 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
637 | << | |
638 | ||
2bda0e17 KB |
639 | $(MSWDIR)/wave.obj: $*.$(SRCSUFF) |
640 | cl @<< | |
641 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
642 | << | |
643 | ||
644 | $(MSWDIR)/window.obj: $*.$(SRCSUFF) | |
645 | cl @<< | |
646 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
647 | << | |
648 | ||
649 | $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF) | |
650 | cl @<< | |
651 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
652 | << | |
653 | ||
43d811ea JS |
654 | $(OLEDIR)/dropsrc.obj: $*.$(SRCSUFF) |
655 | cl @<< | |
656 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
657 | << | |
658 | ||
659 | $(OLEDIR)/dataobj.obj: $*.$(SRCSUFF) | |
660 | cl @<< | |
661 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
662 | << | |
663 | ||
2bda0e17 KB |
664 | $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF) |
665 | cl @<< | |
666 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
667 | << | |
668 | ||
669 | $(OLEDIR)/uuid.obj: $*.$(SRCSUFF) | |
670 | cl @<< | |
671 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
672 | << | |
673 | ||
1e6d9499 JS |
674 | $(OLEDIR)/automtn.obj: $*.$(SRCSUFF) |
675 | cl @<< | |
676 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
677 | << | |
678 | ||
2bda0e17 KB |
679 | ######################################################## |
680 | # Common objects (always compiled) | |
681 | ||
682 | $(COMMDIR)/config.obj: $*.$(SRCSUFF) | |
683 | cl @<< | |
684 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
685 | << | |
686 | ||
687 | $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF) | |
688 | cl @<< | |
689 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
690 | << | |
691 | ||
692 | $(COMMDIR)/docview.obj: $*.$(SRCSUFF) | |
693 | cl @<< | |
694 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
695 | << | |
696 | ||
2108f33a JS |
697 | $(COMMDIR)/docmdi.obj: $*.$(SRCSUFF) |
698 | cl @<< | |
699 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
700 | << | |
701 | ||
2bda0e17 KB |
702 | $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF) |
703 | cl @<< | |
704 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
705 | << | |
706 | ||
707 | $(COMMDIR)/event.obj: $*.$(SRCSUFF) | |
708 | cl @<< | |
709 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
710 | << | |
711 | ||
712 | $(COMMDIR)/file.obj: $*.$(SRCSUFF) | |
713 | cl @<< | |
714 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
715 | << | |
716 | ||
717 | $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF) | |
718 | cl @<< | |
719 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
720 | << | |
721 | ||
722 | $(COMMDIR)/filefn.obj: $*.$(SRCSUFF) | |
723 | cl @<< | |
724 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
725 | << | |
726 | ||
3d8bd7d6 JS |
727 | $(COMMDIR)/framecmn.obj: $*.$(SRCSUFF) |
728 | cl @<< | |
729 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
730 | << | |
731 | ||
2bda0e17 KB |
732 | $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF) |
733 | cl @<< | |
734 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
735 | << | |
736 | ||
737 | $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF) | |
738 | cl @<< | |
739 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
740 | << | |
741 | ||
1e6d9499 JS |
742 | $(COMMDIR)/image.obj: $*.$(SRCSUFF) |
743 | cl @<< | |
744 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
745 | << | |
746 | ||
2bda0e17 KB |
747 | $(COMMDIR)/intl.obj: $*.$(SRCSUFF) |
748 | cl @<< | |
749 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
750 | << | |
751 | ||
752 | $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF) | |
753 | cl @<< | |
754 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
755 | << | |
756 | ||
757 | $(COMMDIR)/layout.obj: $*.$(SRCSUFF) | |
758 | cl @<< | |
759 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
760 | << | |
761 | ||
762 | $(COMMDIR)/log.obj: $*.$(SRCSUFF) | |
763 | cl @<< | |
764 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
765 | << | |
766 | ||
767 | $(COMMDIR)/memory.obj: $*.$(SRCSUFF) | |
768 | cl @<< | |
769 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
770 | << | |
771 | ||
2432b92d JS |
772 | $(COMMDIR)/mimetype.obj: $*.$(SRCSUFF) |
773 | cl @<< | |
774 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
775 | << | |
776 | ||
2bda0e17 KB |
777 | $(COMMDIR)/module.obj: $*.$(SRCSUFF) |
778 | cl @<< | |
779 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
780 | << | |
781 | ||
782 | $(COMMDIR)/object.obj: $*.$(SRCSUFF) | |
783 | cl @<< | |
784 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
785 | << | |
786 | ||
787 | $(COMMDIR)/odbc.obj: $*.$(SRCSUFF) | |
788 | cl @<< | |
789 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
2bda0e17 KB |
790 | << |
791 | ||
6a6c0a8b JS |
792 | $(COMMDIR)/process.obj: $*.$(SRCSUFF) |
793 | cl @<< | |
794 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
795 | << | |
796 | ||
2bda0e17 KB |
797 | $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF) |
798 | cl @<< | |
799 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
800 | << | |
801 | ||
802 | $(COMMDIR)/resource.obj: $*.$(SRCSUFF) | |
803 | cl @<< | |
804 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
805 | << | |
806 | ||
807 | $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF) | |
808 | cl @<< | |
809 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
810 | << | |
811 | ||
812 | $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF) | |
813 | cl @<< | |
814 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
815 | << | |
816 | ||
817 | $(COMMDIR)/textfile.obj: $*.$(SRCSUFF) | |
818 | cl @<< | |
819 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
820 | << | |
821 | ||
822 | $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF) | |
823 | cl @<< | |
824 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
825 | << | |
826 | ||
827 | $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF) | |
828 | cl @<< | |
829 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
830 | << | |
831 | ||
832 | $(COMMDIR)/validate.obj: $*.$(SRCSUFF) | |
833 | cl @<< | |
834 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
835 | << | |
836 | ||
89c684ef JS |
837 | $(COMMDIR)/valgen.obj: $*.$(SRCSUFF) |
838 | cl @<< | |
839 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
840 | << | |
841 | ||
2bda0e17 KB |
842 | $(COMMDIR)/valtext.obj: $*.$(SRCSUFF) |
843 | cl @<< | |
844 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
845 | << | |
846 | ||
847 | $(COMMDIR)/date.obj: $*.$(SRCSUFF) | |
848 | cl @<< | |
849 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
850 | << | |
851 | ||
852 | $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF) | |
853 | cl @<< | |
854 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
855 | << | |
856 | ||
857 | $(COMMDIR)/hash.obj: $*.$(SRCSUFF) | |
858 | cl @<< | |
859 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
860 | << | |
861 | ||
862 | $(COMMDIR)/list.obj: $*.$(SRCSUFF) | |
863 | cl @<< | |
864 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
865 | << | |
866 | ||
341287bf JS |
867 | $(COMMDIR)/variant.obj: $*.$(SRCSUFF) |
868 | cl @<< | |
869 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
870 | << | |
871 | ||
2bda0e17 KB |
872 | $(COMMDIR)/string.obj: $*.$(SRCSUFF) |
873 | cl @<< | |
874 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
875 | << | |
876 | ||
877 | $(COMMDIR)/matrix.obj: $*.$(SRCSUFF) | |
878 | cl @<< | |
879 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
880 | << | |
881 | ||
882 | $(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF) | |
883 | cl @<< | |
884 | $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
885 | << | |
886 | ||
887 | $(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF) | |
888 | cl @<< | |
889 | $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
890 | << | |
891 | ||
892 | $(COMMDIR)/time.obj: $*.$(SRCSUFF) | |
893 | cl @<< | |
894 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
895 | << | |
896 | ||
81d66cf3 JS |
897 | $(COMMDIR)/stream.obj: $*.$(SRCSUFF) |
898 | cl @<< | |
899 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
900 | << | |
901 | ||
25331334 | 902 | $(COMMDIR)/wfstream.obj: $*.$(SRCSUFF) |
81d66cf3 JS |
903 | cl @<< |
904 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
905 | << | |
906 | ||
907 | $(COMMDIR)/mstream.obj: $*.$(SRCSUFF) | |
908 | cl @<< | |
909 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
910 | << | |
911 | ||
912 | $(COMMDIR)/zstream.obj: $*.$(SRCSUFF) | |
913 | cl @<< | |
914 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
915 | << | |
916 | ||
cf447356 GL |
917 | $(COMMDIR)/datstrm.obj: $*.$(SRCSUFF) |
918 | cl @<< | |
919 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
920 | << | |
921 | ||
922 | $(COMMDIR)/extended.obj: $*.c | |
923 | cl @<< | |
5260b1c5 | 924 | $(CPPFLAGS2) /Fo$@ /c /Tp $*.c |
cf447356 GL |
925 | << |
926 | ||
3d8bd7d6 JS |
927 | $(COMMDIR)/wincmn.obj: $*.$(SRCSUFF) |
928 | cl @<< | |
929 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
930 | << | |
931 | ||
2bda0e17 KB |
932 | $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c |
933 | cl @<< | |
934 | $(CPPFLAGS2) -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ /I ..\common /c $*.c | |
935 | << | |
936 | ||
937 | $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c | |
938 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
939 | ||
940 | $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c | |
941 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
942 | ||
943 | ######################################################## | |
944 | # Generic objects (not always compiled, depending on | |
945 | # whether platforms have native implementations) | |
946 | ||
947 | $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF) | |
948 | cl @<< | |
949 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
950 | << | |
951 | ||
952 | $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF) | |
953 | cl @<< | |
954 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
955 | << | |
956 | ||
1e6d9499 JS |
957 | $(GENDIR)/dirdlgg.obj: $*.$(SRCSUFF) |
958 | cl @<< | |
959 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
960 | << | |
961 | ||
2bda0e17 KB |
962 | $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF) |
963 | cl @<< | |
964 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
965 | << | |
966 | ||
967 | $(GENDIR)/gridg.obj: $*.$(SRCSUFF) | |
968 | cl @<< | |
969 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
970 | << | |
971 | ||
1e6d9499 JS |
972 | $(GENDIR)/imaglist.obj: $*.$(SRCSUFF) |
973 | cl @<< | |
974 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
975 | << | |
976 | ||
977 | $(GENDIR)/listctrl.obj: $*.$(SRCSUFF) | |
978 | cl @<< | |
979 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
980 | << | |
981 | ||
982 | $(GENDIR)/notebook.obj: $*.$(SRCSUFF) | |
983 | cl @<< | |
984 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
985 | << | |
986 | ||
2bda0e17 KB |
987 | $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF) |
988 | cl @<< | |
989 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
990 | << | |
991 | ||
992 | $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF) | |
993 | cl @<< | |
994 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
995 | << | |
996 | ||
997 | $(GENDIR)/panelg.obj: $*.$(SRCSUFF) | |
998 | cl @<< | |
999 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1000 | << | |
1001 | ||
1002 | $(GENDIR)/printps.obj: $*.$(SRCSUFF) | |
1003 | cl @<< | |
1004 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1005 | << | |
1006 | ||
1007 | $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF) | |
1008 | cl @<< | |
1009 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1010 | << | |
1011 | ||
e3a43801 JS |
1012 | $(GENDIR)/prop.obj: $*.$(SRCSUFF) |
1013 | cl @<< | |
1014 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1015 | << | |
1016 | ||
1017 | $(GENDIR)/propform.obj: $*.$(SRCSUFF) | |
1018 | cl @<< | |
1019 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1020 | << | |
1021 | ||
1022 | $(GENDIR)/proplist.obj: $*.$(SRCSUFF) | |
1023 | cl @<< | |
1024 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1025 | << | |
1026 | ||
2bda0e17 KB |
1027 | $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF) |
1028 | cl @<< | |
1029 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1030 | << | |
1031 | ||
1032 | $(GENDIR)/splitter.obj: $*.$(SRCSUFF) | |
1033 | cl @<< | |
1034 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1035 | << | |
1036 | ||
1037 | $(GENDIR)/statusbr.obj: $*.$(SRCSUFF) | |
1038 | cl @<< | |
1039 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1040 | << | |
1041 | ||
1042 | $(GENDIR)/tabg.obj: $*.$(SRCSUFF) | |
1043 | cl @<< | |
1044 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1045 | << | |
1046 | ||
1047 | $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF) | |
1048 | cl @<< | |
1049 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1050 | << | |
1051 | ||
1e6d9499 JS |
1052 | $(GENDIR)/treectrl.obj: $*.$(SRCSUFF) |
1053 | cl @<< | |
1054 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1055 | << | |
1056 | ||
2bda0e17 KB |
1057 | $(OBJECTS): $(WXDIR)/include/wx/setup.h |
1058 | ||
1059 | # Peripheral components | |
1060 | ||
1061 | xpm: | |
1062 | cd $(WXDIR)\contrib\wxxpm | |
1063 | nmake -f makefile.dos FINAL=$(FINAL) | |
1064 | cd $(WXDIR)\src\msw | |
1065 | ||
1066 | clean_xpm: | |
1067 | cd $(WXDIR)\contrib\wxxpm | |
1068 | nmake -f makefile.dos clean | |
1069 | cd $(WXDIR)\src\msw | |
1070 | ||
1071 | clean: $(PERIPH_CLEAN_TARGET) | |
1072 | -erase *.obj | |
1073 | -erase ..\lib\*.lib | |
1074 | -erase *.pdb | |
1075 | -erase *.sbr | |
1076 | -erase *.pch | |
1077 | cd $(WXDIR)\src\generic | |
1078 | -erase *.pdb | |
1079 | -erase *.sbr | |
1080 | -erase *.obj | |
1081 | cd $(WXDIR)\src\common | |
1082 | -erase *.pdb | |
1083 | -erase *.sbr | |
1084 | -erase *.obj | |
1085 | cd $(WXDIR)\src\msw\ole | |
1086 | -erase *.pdb | |
1087 | -erase *.sbr | |
1088 | -erase *.obj | |
1089 | cd $(WXDIR)\src\msw | |
1090 | ||
1091 | cleanall: clean | |
1092 | ||
2bda0e17 | 1093 |