]> git.saurik.com Git - wxWidgets.git/blob - src/xrc/makefile.b32
added dependency handling to Makefiles
[wxWidgets.git] / src / xrc / makefile.b32
1 #
2 # File: makefile.b32
3 # Author: Julian Smart
4 # Created: 2000
5 # Updated:
6 # Copyright:
7 #
8 # Makefile : Builds BC++ library for 32-bit BC++
9
10 WXDIR = $(WXWIN)
11
12 expat_dir = $(WXDIR)\contrib\src\xrc\expat
13 XMLPARSEDIR = $(expat_dir)\xmlparse
14 XMLTOKDIR = $(expat_dir)\xmltok
15
16 EXPAT_DEFS=-I$(expat_dir)\xmlparse -I$(expat_dir)\xmltok
17 EXPAT_OBJECTS=xmltok.obj xmlrole.obj xmlparse.obj
18
19 EXTRACPPFLAGS=$(wxLIBXMLDIR) $(EXPAT_DEFS)
20
21 LIBTARGET=$(WXDIR)\lib\wxxrc.lib
22
23 OBJECTS=$(EXPAT_OBJECTS) \
24 xml.obj xmlbin.obj xmlbinz.obj xmlexpat.obj xmlwrite.obj xmlres.obj xmlrsall.obj \
25 xh_bttn.obj xh_chckb.obj xh_chckl.obj xh_choic.obj xh_combo.obj xh_dlg.obj \
26 xh_gauge.obj xh_html.obj xh_menu.obj xh_notbk.obj xh_panel.obj xh_radbt.obj \
27 xh_radbx.obj xh_sizer.obj xh_slidr.obj xh_spin.obj xh_stbmp.obj xh_sttxt.obj \
28 xh_text.obj xh_listb.obj xh_toolb.obj xh_stlin.obj xh_bmp.obj \
29 xh_bmpbt.obj xh_cald.obj xh_listc.obj xh_scrol.obj xh_stbox.obj \
30 xh_tree.obj xh_unkwn.obj xh_frame.obj
31
32 !include $(WXDIR)\src\makelib.b32
33
34 {$(XMLPARSEDIR)}.c.obj:
35 bcc32 $(EXPAT_DEFS) -c -w-ccc -w-rch -w-par {$< }
36
37 {$(XMLTOKDIR)}.c.obj:
38 bcc32 $(EXPAT_DEFS) -c -w-ccc -w-rch -w-par {$< }
39
40