]> git.saurik.com Git - wxWidgets.git/blob - src/makebcc.env
Added menu_highlight behaviour as in wxMSW (statusbar)
[wxWidgets.git] / src / makebcc.env
1 # Common settings for Borland 16-bit compilation (makefile.bcc files)
2
3 WXDIR = $(WXWIN)
4
5 CFG = $(WXDIR)\src\msw\wxwin.cfg
6 WXLIBDIR = $(WXDIR)\lib
7 WXINC = $(WXDIR)\include
8
9 !ifndef FINAL
10 FINAL=0
11 !endif
12
13 !if "$(FINAL)" == "0"
14 LINKFLAGS=/v/Vt /Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
15 OPT = -Od
16 DEBUG_FLAGS= -v -D__WXDEBUG__
17 !else
18 LINKFLAGS=/Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
19 OPT = -O2
20 DEBUG_FLAGS =
21 !endif
22 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
23
24 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
25
26 WXLIB= $(WXLIBDIR)\wx.lib
27
28 SRCSUFF = cpp
29 OBJSUFF = obj
30
31 .$(SRCSUFF).obj:
32 bcc $(CPPFLAGS) -c {$< }
33
34 .c.obj:
35 bcc $(CPPFLAGS) -DUSE_DEFINE -P- -c {$< }