10 # Makefile : Builds conftest 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 = conftest.obj
37 $(TARGET).exe: $(OBJECTS) $(TARGET).res
38 tlink32 $(LINKFLAGS) @&&!
44 brc32 -K $(TARGET).res
47 bcc32 $(CPPFLAGS) -c {$< }
50 bcc32 $(CPPFLAGS) -P- -c {$< }
52 conftest.obj: conftest.$(SRCSUFF)
54 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
55 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include $(TARGET)