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