]>
Commit | Line | Data |
---|---|---|
2bda0e17 KB |
1 | # Common settings for Borland 16-bit compilation (makefile.bcc files) |
2 | ||
3 | WXDIR = $(WXWIN) | |
4 | ||
5 | CFG = $(WXDIR)\src\wxwin.cfg | |
6 | WXLIB = $(WXDIR)\lib | |
7 | WXINC = $(WXDIR)\include\msw | |
8 | WXBASEINC = $(WXDIR)\include\base | |
9 | ||
10 | !ifndef FINAL | |
11 | FINAL=0 | |
12 | !endif | |
13 | ||
2bda0e17 KB |
14 | !if "$(FINAL)" == "0" |
15 | LINKFLAGS=/v/Vt /Twe /L$(WXDIR)\lib;$(BCCDIR)\lib | |
16 | OPT = -Od | |
b2aef89b | 17 | DEBUG_FLAGS= -v -D__WXDEBUG__ -DWXDEBUG=1 |
2bda0e17 KB |
18 | !else |
19 | LINKFLAGS=/Twe /L$(WXDIR)\lib;$(BCCDIR)\lib | |
20 | OPT = -O2 | |
21 | DEBUG_FLAGS = | |
22 | !endif | |
23 | CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG) | |
24 | ||
25 | CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG) | |
26 | ||
27 | LIBTARGET= $(WXLIB)\wx.lib | |
28 | ||
29 | SRCSUFF = cpp | |
30 | OBJSUFF = obj | |
31 | ||
32 | .$(SRCSUFF).obj: | |
33 | bcc $(CPPFLAGS) -c {$< } |