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 LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 winpng zlib jpeg xpm tiff odbc32
18 # Note: you may need to remove some libraries for earlier versions of BC++, as below
19 #LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 winpng zlib xpm tiff
22 #LINKFLAGS=/v /c /Tpe $(LNKCFG) $(EXTRALINKFLAGS)
23 LINKFLAGS=/v /c /aa -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
27 #LINKFLAGS=/Tpe +$(LNKCFG) $(EXTRALINKFLAGS)
28 LINKFLAGS=/aa -L$(WXLIBDIR);$(WXLIBDIR2);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS)
33 CPPFLAGS=$(DEBUG_FLAGS) $(EXTRACPPFLAGS) $(OPT) @$(CFG)
35 all: $(TARGET).exe $(EXTRATARGETS)
37 $(TARGET).exe: $(OBJECTS) $(TARGET).res
38 $(LINK) $(LINKFLAGS) @&&!
48 bcc32 $(CPPFLAGS) -c {$< }
51 bcc32 $(CPPFLAGS) -P- -c {$< }
53 $(TARGET).res : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc
54 brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include /i$(WXDIR)\contrib\include $(TARGET)