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