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
26 !if "$(wxUSE_GUI)" == "0"
33 #LINKFLAGS=/v /c /Tpe $(LNKCFG) $(EXTRALINKFLAGS)
34 LINKFLAGS=/v /c $(LINKOUT) -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
38 #LINKFLAGS=/Tpe +$(LNKCFG) $(EXTRALINKFLAGS)
39 LINKFLAGS=$(LINKOUT) -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
44 CPPFLAGS=$(CPPFLAGS) $(DEBUG_FLAGS) $(OPT)
46 !if "$(wxUSE_GUI)" == "0"
50 TARGETRES = $(TARGET).res
54 all: $(TARGET).exe $(EXTRATARGETS)
56 $(TARGET).exe: $(OBJECTS) $(TARGETRES)
57 $(LINK) $(LINKFLAGS) @&&!
67 bcc32 $(CPPFLAGS) -c {$< }
70 bcc32 $(CPPFLAGS) -P- -c {$< }
72 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
73 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include /i$(WXDIR)\contrib\include $(TARGET)