10 # Makefile : Builds db example
12 # WXWIN and BCCDIR are set by parent make
15 !include $(WXDIR)\src\makeb32.env
17 WXLIBDIR = $(WXDIR)\lib
18 WXINC = $(WXDIR)\include\msw
19 WXLIB = $(WXLIBDIR)\wx32.lib
20 LIBS=$(WXLIB) cw32 import32 ole2w32
25 LINKFLAGS=/v /Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
29 LINKFLAGS=/Tpe /L$(WXLIBDIR);$(BCCDIR)\lib
33 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
35 OBJECTS = dbtest.obj listdb.obj
37 $(TARGET).exe: $(OBJECTS) $(TARGET).res
38 tlink32 $(LINKFLAGS) @&&!
48 bcc32 $(CPPFLAGS) -c {$< }
51 bcc32 $(CPPFLAGS) -P- -c {$< }
53 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
54 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)