6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds tree library and example (DOS).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
14 # Set WXDIR for your system
17 !include $(WXDIR)\src\makemsc.env
19 TREEDIR = $(WXDIR)\utils\wxtree
20 TREELIB = $(TREEDIR)\lib\wxtree.lib
21 DOCDIR = $(TREEDIR)\docs
22 THISDIR = $(TREEDIR)\src
23 EXTRALIBS = $(TREELIB)
24 INC=-I$(WXDIR)\include\base -I$(WXDIR)\include\msw
25 DUMMY=$(WXDIR)\src\msw\dummy.obj
27 # Default is to output RTF for WinHelp
33 SOURCES = wxtree.$(SRCSUFF)
42 nmake -f makefile.dos FINAL=$(FINAL)
47 nmake -f makefile.dos clean
50 $(TREELIB): $(OBJECTS)
60 test.exe: $(DUMMY) $(WXLIB) $(TREELIB) test.obj test.def test.res
71 wxtree.obj: wxtree.h wxtree.$(SRCSUFF) $(DUMMY)
73 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
76 test.obj: test.h wxtree.h test.$(SRCSUFF) $(DUMMY)
78 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
81 test.res : test.rc $(WXDIR)\include\msw\wx.rc
82 rc -r /dFAFA_LIB /i$(WXDIR)\contrib\fafa /i$(WXDIR)\include\msw test
86 hlp: $(DOCDIR)/wxtree.hlp
87 xlp: $(DOCDIR)/wxtree.xlp
88 rtf: $(DOCDIR)/wxtree.rtf
90 $(DOCDIR)/wxtree.hlp: $(DOCDIR)/wxtree.rtf $(DOCDIR)/wxtree.hpj
96 $(DOCDIR)/wxtree.rtf: $(DOCDIR)/manual.tex $(DOCDIR)/classes.tex
98 -wx /W tex2rtf $(DOCDIR)\manual.tex $(DOCDIR)\wxtree.rtf -twice $(RTFSTYLE)
101 $(DOCDIR)/wxtree.xlp: $(DOCDIR)/manual.tex $(DOCDIR)/classes.tex
103 -wx /W tex2rtf $(DOCDIR)\manual.tex $(DOCDIR)\wxtree.xlp -twice -xlp