]> git.saurik.com Git - wxWidgets.git/blame - utils/wxprop/src/makefile.wat
Changed __GTK__, __WINDOWS__ and __MOTIF__ to __WXGTK__, __WXMSW__ and __WXMOTIF__
[wxWidgets.git] / utils / wxprop / src / makefile.wat
CommitLineData
457814b5
JS
1WXDIR = ..\..\..
2
3EXTRACPPFLAGS = /DUSE_DEFINE
4
5!include $(WXDIR)\src\makewat.env
6
7WXLIB = $(WXDIR)\lib
8LIBTARGET = ..\lib\wxprop.lib
9
10OBJECTS = prop.obj proplist.obj propform.obj
11TESTOBJECTS = test.obj
12NAME = test
13LNK = $(name).lnk
14
15all: erasepch $(OBJECTS) $(LIBTARGET)
16
17test: test.exe
18
19test.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
44clean: .SYMBOLIC
45 -erase *.obj *.bak *.err *.pch $(LIBTARGET) *.lbc
46
47