]> git.saurik.com Git - wxWidgets.git/blob - src/makebcc.env
registry based implementation of wxConfig (wxRegConfig)
[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\wxwin.cfg
6 WXLIB = $(WXDIR)\lib
7 WXINC = $(WXDIR)\include\msw
8 WXBASEINC = $(WXDIR)\include\base
9
10 !ifndef FINAL
11 FINAL=0
12 !endif
13
14 !ifndef DEBUG
15 DEBUG=0
16 !endif
17
18 !if "$(FINAL)" == "0"
19 LINKFLAGS=/v/Vt /Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
20 OPT = -Od
21 DEBUG_FLAGS= -v
22 !else
23 LINKFLAGS=/Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
24 OPT = -O2
25 DEBUG_FLAGS =
26 !endif
27 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
28
29 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
30
31 LIBTARGET= $(WXLIB)\wx.lib
32
33 SRCSUFF = cpp
34 OBJSUFF = obj
35
36 .$(SRCSUFF).obj:
37 bcc $(CPPFLAGS) -c {$< }