]> git.saurik.com Git - wxWidgets.git/blame - src/xrc/makefile.g95
Make easier to compile with MSVC5.
[wxWidgets.git] / src / xrc / makefile.g95
CommitLineData
78d14f80
VS
1#
2# File: makefile.g95
3# Author: Julian Smart
4# Created: 2000
5# Updated:
6# Copyright: (c) Julian Smart, 2000
7#
8# Makefile for wxWindows wxXML library (Cygwin/Mingw32).
9
10WXDIR = ../../..
11
12expat_dir = $(WXDIR)/contrib/src/xrc/expat
13XMLPARSEDIR = $(expat_dir)/xmlparse
14XMLTOKDIR=$(expat_dir)/xmltok
15
16EXPAT_DEFS=-I$(expat_dir)/xmlparse -I$(expat_dir)/xmltok
17
18EXTRACPPFLAGS=$(EXPAT_DEFS)
19XMLPARSEDIR_OBJECTS=xmlparse.o
20XMLTOKDIR_OBJECTS=xmltok.o xmlrole.o
21
22LIBTARGET=$(WXDIR)/lib/libwxxrc.a
23
24OBJECTS= $(XMLPARSEDIR_OBJECTS) $(XMLTOKDIR_OBJECTS) \
25 xml.o xmlbin.o xmlbinz.o xmlexpat.o xmlwrite.o xmlres.o xmlrsall.o \
26 xh_bttn.o xh_chckb.o xh_chckl.o xh_choic.o xh_combo.o xh_dlg.o \
27 xh_gauge.o xh_html.o xh_menu.o xh_notbk.o xh_panel.o xh_radbt.o \
28 xh_radbx.o xh_sizer.o xh_slidr.o xh_spin.o xh_stbmp.o xh_sttxt.o \
29 xh_text.o xh_listb.o xh_toolb.o xh_stlin.o xh_bmp.o xh_unkwn.o \
30 xh_bmpbt.o xh_cald.o xh_listc.o xh_scrol.o xh_stbox.o xh_tree.o \
31 xh_frame.o
32
33include $(WXDIR)/src/makelib.g95
34
35$(XMLPARSEDIR_OBJECTS):
36 $(CC) -g $(EXPAT_DEFS) -c -o $@ $(XMLPARSEDIR)/$(patsubst %.o,%.c, $@)
37
38$(XMLTOKDIR_OBJECTS):
39 $(CC) -g $(EXPAT_DEFS) -c -o $@ $(XMLTOKDIR)/$(patsubst %.o,%.c, $@)
40