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