3 # Author: Patrick Halke
6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds 32bit wxtree library for 32-bit BC++
13 !include $(WXDIR)\src\makeb32.env
15 WXINC = $(WXDIR)\include
18 LIBTARGET= $(WXLIBDIR)\wxprop.lib
19 LIBS=$(WXLIB)\wx32.lib $(LIBTARGET) cw32 import32
26 LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
28 DEBUG_FLAGS= -v -DDEBUG=$(DEBUG)
30 LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
32 DEBUG_FLAGS = -DDEBUG=$(DEBUG)
35 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
38 bcc32 $(CPPFLAGS) -c {$< }
41 bcc32 $(CPPFLAGS) -P- -c {$< }
47 $(LIBTARGET): $(OBJECTS)
49 tlib $(LIBTARGET) /P32 @&&!
50 +$(OBJECTS:.obj =.obj +)
53 wxtree.obj: wxtree.$(SRCSUFF) wxtree.h
55 $(TARGET).exe: $(TESTOBJECTS) $(LIBTARGET) $(TARGET).def $(TARGET).res
56 tlink32 $(LINKFLAGS) @&&!
57 c0w32.obj $(TESTOBJECTS)
63 brc32 -K $(TARGET).res
65 test.obj: test.$(SRCSUFF) test.h
67 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
68 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)
71 -erase *.obj $(LIBTARGET) *.exe *.res *.map *.rws