40e1a9c025
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@90 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
33 lines
560 B
Bash
33 lines
560 B
Bash
# Common settings for Borland 32-bit compilation (makefile.b32 files)
|
|
|
|
WXDIR = $(WXWIN)
|
|
CFG = $(WXDIR)\src\msw\wxwin32.cfg
|
|
WXLIBDIR = $(WXDIR)\lib
|
|
WXINC = $(WXDIR)\include
|
|
WIN95FLAG = -D__WIN95__
|
|
|
|
!ifndef FINAL
|
|
FINAL=0
|
|
!endif
|
|
|
|
!if "$(FINAL)" == "0"
|
|
OPT = -Od
|
|
DEBUG_FLAGS= -v -DDEBUG=1 -D__DEBUG__ -DUSE_DEFINE
|
|
!else
|
|
OPT = -O2
|
|
DEBUG_FLAGS = -DUSE_DEFINE
|
|
!endif
|
|
CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
|
|
|
|
LIBTARGET= $(WXLIBDIR)\wx32.lib
|
|
DUMMY=dummy
|
|
|
|
SRCSUFF = cpp
|
|
OBJSUFF = obj
|
|
|
|
.$(SRCSUFF).obj:
|
|
bcc32 $(CPPFLAGS) -c {$< }
|
|
|
|
.c.obj:
|
|
bcc32 $(CPPFLAGS) -P- -c {$< }
|