]> git.saurik.com Git - wxWidgets.git/blame - src/makebcc.env
wxFrame: OnSize() has a SEGV if wxFrame has no child. Fixed.
[wxWidgets.git] / src / makebcc.env
CommitLineData
2bda0e17
KB
1# Common settings for Borland 16-bit compilation (makefile.bcc files)
2
3WXDIR = $(WXWIN)
4
5CFG = $(WXDIR)\src\wxwin.cfg
6WXLIB = $(WXDIR)\lib
7WXINC = $(WXDIR)\include\msw
8WXBASEINC = $(WXDIR)\include\base
9
10!ifndef FINAL
11FINAL=0
12!endif
13
2bda0e17
KB
14!if "$(FINAL)" == "0"
15LINKFLAGS=/v/Vt /Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
16OPT = -Od
b2aef89b 17DEBUG_FLAGS= -v -D__WXDEBUG__ -DWXDEBUG=1
2bda0e17
KB
18!else
19LINKFLAGS=/Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
20OPT = -O2
21DEBUG_FLAGS =
22!endif
23CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
24
25CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
26
27LIBTARGET= $(WXLIB)\wx.lib
28
29SRCSUFF = cpp
30OBJSUFF = obj
31
32.$(SRCSUFF).obj:
33 bcc $(CPPFLAGS) -c {$< }