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