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