1 # Symantec C++ makefile for the tree library
2 # NOTE that peripheral libraries are now dealt in main wxWindows makefile.
6 WXLIB = $(WXDIR)\lib\wx.lib
7 INCDIR = $(WXDIR)\include
9 BASEINC = $(INCDIR)\base
11 include $(WXDIR)\src\makesc.env
13 TREEDIR = $(WXDIR)\utils\wxtree
14 TREEINC = $(TREEDIR)\src
15 TREELIB = $(TREEDIR)\lib\wxtree.lib
17 DOCDIR = $(TREEDIR)\docs
18 SRCDIR = $(TREEDIR)\src
20 # Default is to output RTF for WinHelp
23 INCLUDE=$(BASEINC);$(MSWINC)
25 LIBS=$(TREELIB) $(WXLIB) libw.lib commdlg.lib shell.lib
28 *$(CC) -c $(CFLAGS) -I$(INCLUDE) $<
31 *$(RC) -r -I$(INCLUDE) $<
33 $(TREELIB): wxtree.obj
35 *lib $(TREELIB) y wxtree.obj, nul;
37 wxtree.obj: wxtree.h wxtree.$(SRCSUFF)
39 test.exe: test.obj test.def test.res
40 *$(CC) $(LDFLAGS) -o$@ test.obj test.def $(LIBS)
43 test.obj: test.h wxtree.h test.$(SRCSUFF)
47 hlp: $(DOCDIR)/wxtree.hlp
48 xlp: $(DOCDIR)/wxtree.xlp
49 rtf: $(DOCDIR)/wxtree.rtf
51 $(DOCDIR)/wxtree.hlp: $(DOCDIR)/wxtree.rtf $(DOCDIR)/wxtree.hpj
57 $(DOCDIR)/wxtree.rtf: $(DOCDIR)/manual.tex $(DOCDIR)/classes.tex
59 -wx tex2rtf $(DOCDIR)\manual.tex $(DOCDIR)\wxtree.rtf -twice -winhelp
62 $(DOCDIR)/wxtree.xlp: $(DOCDIR)/manual.tex $(DOCDIR)/classes.tex
64 -wx tex2rtf $(DOCDIR)\manual.tex $(DOCDIR)\wxtree.xlp -twice -xlp