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