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 "$(wxUSE_GUI)" == "0"
20 IMGLIBS= winpng jpeg tiff
23 !if "$(WXUSINGDLL)" == "1"
24 LIBS=$(WXLIB) $(EXTRALIBS) cw32mti import32 ole2w32 regex zlib $(IMGLIBS) odbc32
26 LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 regex zlib $(IMGLIBS) odbc32
29 # Note: you may need to remove some libraries for earlier versions of BC++, as below
30 #LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 winpng zlib tiff
32 !if "$(wxUSE_GUI)" == "0"
39 #LINKFLAGS=/v /c /Tpe $(LNKCFG) $(EXTRALINKFLAGS)
40 LINKFLAGS=/v /c $(LINKOUT) -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
44 #LINKFLAGS=/Tpe +$(LNKCFG) $(EXTRALINKFLAGS)
45 LINKFLAGS=$(LINKOUT) -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
50 CPPFLAGS=$(CPPFLAGS) $(DEBUG_FLAGS) $(OPT)
52 !if "$(wxUSE_GUI)" == "0"
56 TARGETRES = $(TARGET).res
60 all: $(TARGET).exe $(EXTRATARGETS)
62 $(TARGET).exe: $(OBJECTS) $(TARGETRES)
63 $(LINK) $(LINKFLAGS) @&&!
73 bcc32 $(CPPFLAGS) -c {$< }
76 bcc32 $(CPPFLAGS) -P- -c {$< }
78 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
79 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include /i$(WXDIR)\contrib\include $(TARGET)