1 # Common settings for Borland 32-bit compilation (makefile.b32 files)
4 CFG = $(WXDIR)\src\msw\wxwin32.cfg
5 WXLIBDIR = $(WXDIR)\lib
6 WXINC = $(WXDIR)\include
7 WIN95FLAG = -D__WIN95__ -D__WINDOWS__
15 DEBUG_FLAGS= -v -DWXDEBUG=1 -D__WXDEBUG__ -DUSE_DEFINE
18 DEBUG_FLAGS = -DUSE_DEFINE
25 # Target WXMAKINGDLL WXUSINGDLL WXBUILDDLL
28 # App use wxWin DLL 0 1 0
29 # DLL use wxWin DLL 0 1 1
30 # DLL use wxWin STATIC 0 0 1
33 !if "$(WXMAKINGDLL)" == "1"
34 DLL_FLAGS= -DWXMAKINGDLL=1 -D_WINDLL
35 WXLIB= $(WXLIBDIR)\wx200.lib
39 LINK_FLAGS= /Tpe /ap /c
41 !if "$(WXUSINGDLL)" == "1"
42 DLL_FLAGS= -DWXUSINGDLL=1
43 WXLIB= $(WXLIBDIR)\wx200.lib
46 WXLIB= $(WXLIBDIR)\wx32.lib
51 !if "$(WXBUILDDLL)" == "1"
52 DLL_FLAGS= $(DLL_FLAGS) -D_RTLDLL
53 LINK_FLAGS= /Tpd /ap /c $(EXTRALINKFLAGS)
56 CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
64 bcc32 $(CPPFLAGS) -c {$< }
67 bcc32 $(CPPFLAGS) -P- -c {$< }