]> git.saurik.com Git - wxWidgets.git/blob - src/makeb32.env
Various documentation changes, makefile fixes
[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 !if "$(FINAL)" == "0"
14 OPT = -Od
15 DEBUG_FLAGS= -v -DDEBUG=1 -D__DEBUG__ -DUSE_DEFINE
16 !else
17 OPT = -O2
18 DEBUG_FLAGS = -DUSE_DEFINE
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 {$< }