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