]> git.saurik.com Git - wxWidgets.git/blob - src/makeb32.env
registry based implementation of wxConfig (wxRegConfig)
[wxWidgets.git] / src / makeb32.env
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
13 !ifndef DEBUG
14 DEBUG=1
15 !endif
16
17 !if "$(FINAL)" == "0"
18 OPT = -Od
19 DEBUG_FLAGS= -v -DDEBUG=$(DEBUG) -DUSE_DEFINE
20 !else
21 OPT = -O2
22 DEBUG_FLAGS = -DDEBUG=$(DEBUG) -DUSE_DEFINE
23 !endif
24 CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
25
26 LIBTARGET= $(WXLIBDIR)\wx32.lib
27 DUMMY=dummy
28
29 SRCSUFF = cpp
30 OBJSUFF = obj
31
32 .$(SRCSUFF).obj:
33 bcc32 $(CPPFLAGS) -c {$< }
34
35 .c.obj:
36 bcc32 $(CPPFLAGS) -P- -c {$< }