8 # Include file for samples and utilities. Set TARGET and OBJECTS
9 # before including this file.
11 # WXWIN set by parent make
12 # BCCDIR set in makeb32.env
15 !include $(WXDIR)\src\makeb32.env
17 !if "$(WXUSINGDLL)" == "1"
18 LIBS=$(WXLIB) $(EXTRALIBS) cw32mti import32 ole2w32 winpng regex zlib jpeg tiff odbc32
20 LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 winpng regex zlib jpeg tiff odbc32
23 # Note: you may need to remove some libraries for earlier versions of BC++, as below
24 #LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 winpng zlib tiff
27 #LINKFLAGS=/v /c /Tpe $(LNKCFG) $(EXTRALINKFLAGS)
28 LINKFLAGS=/v /c /aa -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
32 #LINKFLAGS=/Tpe +$(LNKCFG) $(EXTRALINKFLAGS)
33 LINKFLAGS=/aa -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
38 CPPFLAGS=$(CPPFLAGS) $(DEBUG_FLAGS) $(OPT)
40 all: $(TARGET).exe $(EXTRATARGETS)
42 $(TARGET).exe: $(OBJECTS) $(TARGET).res
43 $(LINK) $(LINKFLAGS) @&&!
53 bcc32 $(CPPFLAGS) -c {$< }
56 bcc32 $(CPPFLAGS) -P- -c {$< }
58 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
59 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include /i$(WXDIR)\contrib\include $(TARGET)