]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/wxtree/src/makefile.wat
Restored the old Dialog Editor files.
[wxWidgets.git] / utils / wxtree / src / makefile.wat
... / ...
CommitLineData
1WXDIR = ..\..\..
2
3NOPRECOMP=1
4
5!include $(WXDIR)\src\makewat.env
6
7WXLIB=$(WXDIR)\lib
8LIBTARGET = ..\lib\wxtree.lib
9IFLAGS = -i=$(WXINC) -i=$(WXBASEINC)
10EXTRACPPFLAGS =
11NAME = wxtree
12LNK = test.lnk
13TESTOBJECTS=test.obj
14
15OBJECTS = $(name).obj
16
17all: $(OBJECTS) $(LIBTARGET)
18
19$(LIBTARGET): $(OBJECTS)
20 *wlib /b /c /n /P=256 $(LIBTARGET) $(OBJECTS)
21
22test: test.exe
23
24test.obj: test.$(SRCSUFF) test.h wxtree.h
25
26test.exe : $(TESTOBJECTS) test.res $(LNK) $(LIBTARGET) $(WXLIB)\wx$(LEVEL).lib
27 wlink @$(LNK)
28 $(BINDCOMMAND) test.res
29
30test.res : test.rc $(WXDIR)\include\msw\wx.rc
31 $(RC) $(RESFLAGS1) test.rc
32
33$(LNK) : makefile.wat
34 %create $(LNK)
35 @%append $(LNK) debug all
36 @%append $(LNK) system $(LINKOPTION)
37 @%append $(LNK) $(MINDATA)
38 @%append $(LNK) $(MAXDATA)
39 @%append $(LNK) $(STACK)
40 @%append $(LNK) name test
41 @%append $(LNK) file $(WXLIB)\wx$(LEVEL).lib
42 @%append $(LNK) file $(LIBTARGET)
43 @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i
44 @for %i in ($(TESTOBJECTS)) do @%append $(LNK) file %i
45
46clean: .SYMBOLIC
47 -erase $(LIBTARGET) *.obj *.bak *.err *.pch *.lib *.lbc *.res *.exe
48
49