3 EXTRACPPFLAGS = /DUSE_DEFINE
5 !include $(WXDIR)\src\makewat.env
8 LIBTARGET = ..\lib\wxprop.lib
10 OBJECTS = prop.obj proplist.obj propform.obj
11 TESTOBJECTS = test.obj
15 all: erasepch $(OBJECTS) $(LIBTARGET)
19 test.obj: test.$(SRCSUFF)
21 $(LIBTARGET): $(OBJECTS)
22 wlib /b /c /n /P=256 $(LIBTARGET) $(OBJECTS)
24 $(name).exe : $(TESTOBJECTS) $(name).res $(LNK) $(WXLIB)\wx$(LEVEL).lib
26 $(BINDCOMMAND) $(name).res
28 $(name).res : $(name).rc $(WXDIR)\include\msw\wx.rc
29 $(RC) $(RESFLAGS1) $(name).rc
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
45 -erase *.obj *.bak *.err *.pch $(LIBTARGET) *.lbc