8 # Include file for samples and utilities. Set TARGET and OBJECTS
9 # before including this file.
11 # WXWIN and BCCDIR are set by parent make
14 !include $(WXDIR)\src\makeb32.env
16 !if "$(WXUSINGDLL)" == "1"
17 LIBS=$(WXLIB) $(EXTRALIBS) cw32mti import32 ole2w32 winpng zlib jpeg tiff odbc32
19 LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 winpng zlib jpeg tiff odbc32
22 # Note: you may need to remove some libraries for earlier versions of BC++, as below
23 #LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 winpng zlib tiff
26 #LINKFLAGS=/v /c /Tpe $(LNKCFG) $(EXTRALINKFLAGS)
27 LINKFLAGS=/v /c /aa -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
31 #LINKFLAGS=/Tpe +$(LNKCFG) $(EXTRALINKFLAGS)
32 LINKFLAGS=/aa -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
37 CPPFLAGS=$(CPPFLAGS) $(DEBUG_FLAGS) $(OPT)
39 all: $(TARGET).exe $(EXTRATARGETS)
41 $(TARGET).exe: $(OBJECTS) $(TARGET).res
42 $(LINK) $(LINKFLAGS) @&&!
52 bcc32 $(CPPFLAGS) -c {$< }
55 bcc32 $(CPPFLAGS) -P- -c {$< }
57 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
58 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include /i$(WXDIR)\contrib\include $(TARGET)