8 # Include file for samples and utilities. Set TARGET, OBJECTS and
9 # TARGETDEF (if you want to include a DEF file in the build) before
10 # including this file.
12 # WXWIN set by parent make
13 # BCCDIR set in makeb32.env
16 !include $(WXDIR)\src\makeb32.env
18 !if "$(wxUSE_GUI)" == "0"
21 IMGLIBS= winpng jpeg tiff
24 !if "$(WXUSINGDLL)" == "1"
25 LIBS=$(WXLIB) $(EXTRALIBS) cw32mti import32 ole2w32 regex zlib $(IMGLIBS)
27 LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 regex zlib $(IMGLIBS)
30 !if "$(wxUSE_ODBC)" == "1"
34 # Note: you may need to remove some libraries for earlier versions of BC++, as below
35 #LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 winpng zlib tiff
37 !if "$(wxUSE_GUI)" == "0"
44 #LINKFLAGS=/v /c /Tpe $(LNKCFG) $(EXTRALINKFLAGS)
45 LINKFLAGS=/v /c $(LINKOUT) -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
49 #LINKFLAGS=/Tpe +$(LNKCFG) $(EXTRALINKFLAGS)
50 LINKFLAGS=$(LINKOUT) -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
55 CPPFLAGS=$(CPPFLAGS) $(DEBUG_FLAGS) $(OPT)
57 !if "$(wxUSE_GUI)" == "0"
61 TARGETRES = $(TARGET).res
65 all: $(TARGET).exe $(EXTRATARGETS)
67 $(TARGET).exe: $(OBJECTS) $(TARGETDEF) $(TARGETRES)
68 $(LINK) $(LINKFLAGS) @&&!
78 bcc32 $(CPPFLAGS) -c {$< }
81 bcc32 $(CPPFLAGS) -P- -c {$< }
83 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
84 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include /i$(WXDIR)\contrib\include $(TARGET)