]>
Commit | Line | Data |
---|---|---|
2bda0e17 KB |
1 | # Common settings for Borland 32-bit compilation (makefile.b32 files) |
2 | ||
3 | WXDIR = $(WXWIN) | |
4 | CFG = $(WXDIR)\src\msw\wxwin32.cfg | |
5 | WXLIBDIR = $(WXDIR)\lib | |
6 | WXINC = $(WXDIR)\include | |
7 | WIN95FLAG = -D__WIN95__ | |
8 | ||
9 | !ifndef FINAL | |
10 | FINAL=0 | |
11 | !endif | |
12 | ||
2bda0e17 KB |
13 | !if "$(FINAL)" == "0" |
14 | OPT = -Od | |
b2aef89b | 15 | DEBUG_FLAGS= -v -DWXDEBUG=1 -D__WXDEBUG__ -DUSE_DEFINE |
2bda0e17 KB |
16 | !else |
17 | OPT = -O2 | |
40e1a9c0 | 18 | DEBUG_FLAGS = -DUSE_DEFINE |
2bda0e17 KB |
19 | !endif |
20 | CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG) | |
21 | ||
22 | LIBTARGET= $(WXLIBDIR)\wx32.lib | |
23 | DUMMY=dummy | |
24 | ||
25 | SRCSUFF = cpp | |
26 | OBJSUFF = obj | |
27 | ||
28 | .$(SRCSUFF).obj: | |
29 | bcc32 $(CPPFLAGS) -c {$< } | |
30 | ||
31 | .c.obj: | |
32 | bcc32 $(CPPFLAGS) -P- -c {$< } |