]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/makebcc.env
Added more makefiles
[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
15OPT = -Od
16DEBUG_FLAGS= -v -D__WXDEBUG__
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
26WXLIB= $(WXLIBDIR)\wx.lib
27
28SRCSUFF = cpp
29OBJSUFF = obj
30
31.$(SRCSUFF).obj:
32 bcc $(CPPFLAGS) -c {$< }
33
34.c.obj:
35 bcc $(CPPFLAGS) -DUSE_DEFINE -P- -c {$< }