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