]> git.saurik.com Git - wxWidgets.git/blame - src/makebcc.env
Added distribution script
[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
7WXINC = $(WXDIR)\include
2bda0e17
KB
8
9!ifndef FINAL
10FINAL=0
11!endif
12
2bda0e17
KB
13!if "$(FINAL)" == "0"
14LINKFLAGS=/v/Vt /Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
15OPT = -Od
62448488 16DEBUG_FLAGS= -v -D__WXDEBUG__
2bda0e17
KB
17!else
18LINKFLAGS=/Twe /L$(WXDIR)\lib;$(BCCDIR)\lib
19OPT = -O2
20DEBUG_FLAGS =
21!endif
22CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
23
24CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
25
62448488 26WXLIB= $(WXLIBDIR)\wx.lib
2bda0e17
KB
27
28SRCSUFF = cpp
29OBJSUFF = obj
30
31.$(SRCSUFF).obj:
32 bcc $(CPPFLAGS) -c {$< }
62448488
JS
33
34.c.obj:
35 bcc $(CPPFLAGS) -DUSE_DEFINE -P- -c {$< }