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