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