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