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