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