]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/makebcc.env
BC++ 5 does not have Unicode version of GetProcAddress.
[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
7WXINC = $(WXDIR)\include
8
9!ifndef FINAL
10FINAL=0
11!endif
12
13!if "$(FINAL)" == "0"
14LINKFLAGS=/v/Vt /Twe /L$(WXDIR)\lib;$(BCCDIR)\lib $(EXTRALINKFLAGS)
15OPT = -Od
16DEBUG_FLAGS= -v -D__WXDEBUG__
17!else
18LINKFLAGS=/Twe /L$(WXDIR)\lib;$(BCCDIR)\lib $(EXTRALINKFLAGS)
19OPT = -O2
20DEBUG_FLAGS =
21!endif
22
23CPPFLAGS=$(DEBUG_FLAGS) $(OPT) $(EXTRACPPFLAGS) @$(CFG)
24WXLIB= $(WXLIBDIR)\wx.lib
25
26SRCSUFF = cpp
27OBJSUFF = obj
28
29.$(SRCSUFF).obj:
30 bcc $(CPPFLAGS) -c {$< }
31
32.c.obj:
33 bcc $(CPPFLAGS) -DUSE_DEFINE -P- -c {$< }