3 # Author: Patrick Halke
6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds 32bit wxProperty library for Windows
14 !include $(WXDIR)\src\makeb32.env
16 WXINC = $(WXDIR)\include
19 LIBTARGET= $(WXLIBDIR)\wxprop.lib
20 LIBS=$(WXLIB)\wx32.lib $(LIBTARGET) cw32 import32
27 LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
29 DEBUG_FLAGS= -v -DDEBUG=$(DEBUG)
31 LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
33 DEBUG_FLAGS = -DDEBUG=$(DEBUG)
36 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
39 bcc32 $(CPPFLAGS) -c {$< }
42 bcc32 $(CPPFLAGS) -P- -c {$< }
44 OBJECTS = prop.obj proplist.obj propform.obj
48 $(LIBTARGET): $(OBJECTS)
50 tlib $(LIBTARGET) /P32 @&&!
51 +$(OBJECTS:.obj =.obj +)
54 prop.obj: prop.$(SRCSUFF) prop.h
55 proplist.obj: proplist.$(SRCSUFF) prop.h proplist.h
56 propform.obj: propform.$(SRCSUFF) prop.h propform.h
58 $(TARGET).exe: $(TESTOBJECTS) $(LIBTARGET) $(TARGET).def $(TARGET).res
59 tlink32 $(LINKFLAGS) @&&!
60 c0w32.obj $(TESTOBJECTS)
66 brc32 -K $(TARGET).res
68 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
69 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)
71 test.obj: test.$(SRCSUFF) test.h
74 -erase *.obj $(LIBTARGET) *.exe *.res *.map *.rws