]> git.saurik.com Git - wxWidgets.git/blob - src/makebcc.env
cleaning up, adding support for Quartz / Themeing before 10.3
[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 WXLIBDIR2 = $(WXDIR)\contrib\lib
8 WXINC = $(WXDIR)\include;$(WXDIR)\contrib\include
9
10 !ifndef FINAL
11 FINAL=0
12 !endif
13
14 !if "$(FINAL)" == "0"
15 LINKFLAGS=/v/Vt /Twe /L$(WXDIR)\lib;$(WXDIR)\contrib\lib;$(BCCDIR)\lib $(EXTRALINKFLAGS)
16 OPT = -Od
17 DEBUG_FLAGS= -v -D__WXDEBUG__
18 !else
19 LINKFLAGS=/Twe /L$(WXDIR)\lib;$(WXDIR)\contrib\lib;$(BCCDIR)\lib $(EXTRALINKFLAGS)
20 OPT = -O2
21 DEBUG_FLAGS =
22 !endif
23
24 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) $(EXTRACPPFLAGS) @$(CFG)
25 WXLIB= $(WXLIBDIR)\wx.lib
26
27 SRCSUFF = cpp
28 OBJSUFF = obj
29
30 .$(SRCSUFF).obj:
31 bcc $(CPPFLAGS) -c {$< }
32
33 .c.obj:
34 bcc $(CPPFLAGS) -DUSE_DEFINE -P- -c {$< }