1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
8 # -------------------------------------------------------------------------
9 # These are configurable options:
10 # -------------------------------------------------------------------------
12 # Type of compiled binaries [debug,release]
16 # Name of your custom configuration. This affects directory
17 # where object files are stored as well as the location of
18 # compiled .lib files and setup.h under the lib/ toplevel directory.
22 # Standard preprocessor flags (common for CC and CXX)
30 # Standard flags for C++
34 # Standard linker flags
38 # Multiple libraries or single huge monolithic one? [0,1]
42 # Is this official build by wxWindows developers? [0,1]
43 !ifndef OFFICIAL_BUILD
46 # What type of library to build? [0,1]
50 # Compile Unicode build of wxWindows? [0,1]
54 # Build GUI libraries? [0,1]
58 # Build wxUniversal instead of native port? [0,1]
63 # -------------------------------------------------------------------------
64 # Do not modify the rest of this file!
65 # -------------------------------------------------------------------------
71 !if "$(BCCDIR)" == "\.."
72 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
77 OBJS = objs_bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
78 CONSOLE_CXXFLAGS = $(CPPFLAGS) -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I./../../include -I./../../lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -I./../../src/tiff -I./../../src/jpeg -I./../../src/png -I./../../src/zlib -I./../../src/regex -I. $(__DLLFLAG_p) $(__MULTILIB_FLAG_p) $(CXXFLAGS)
80 ### Conditionally set variables: ###
82 !if "$(USE_GUI)" == "0"
85 !if "$(USE_GUI)" == "1"
88 !if "$(BUILD)" == "debug"
91 !if "$(SHARED)" == "1"
94 !if "$(UNICODE)" == "1"
97 !if "$(WXUNIV)" == "1"
100 !if "$(BUILD)" == "debug"
101 __DEBUG_DEFINE_p = -D__WXDEBUG__
103 !if "$(SHARED)" == "1"
104 __DLLFLAG_p = -DWXUSINGDLL
106 !if "$(MONOLITHIC)" == "0"
107 __MULTILIB_FLAG_p = -DwxUSE_GUI=0
109 !if "$(UNICODE)" == "1"
110 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
112 !if "$(MONOLITHIC)" == "0"
113 __WXLIB_BASE_p = wx25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_base.lib
115 !if "$(MONOLITHIC)" == "1"
116 __WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
118 !if "$(WXUNIV)" == "1"
119 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
125 -if not exist $(OBJS) mkdir $(OBJS)
129 all: $(OBJS)\console.exe data
131 $(OBJS)\console_console.obj: .\console.cpp
132 $(CXX) -c -P -o$@ $(CONSOLE_CXXFLAGS) $**
135 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
136 -if exist $(OBJS)\*.res del $(OBJS)\*.res
137 -if exist $(OBJS)\console.exe del $(OBJS)\console.exe
138 -if exist $(OBJS)\testdata.fc del $(OBJS)\testdata.fc
140 $(OBJS)\console.exe: $(OBJS)\console_console.obj
141 ilink32 -Tpe $(LDFLAGS) -L.\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -ap -ap @&&|
142 c0x32.obj $(OBJS)\console_console.obj,$@,, $(__WXLIB_MONO_p) $(__WXLIB_BASE_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib import32.lib ole2w32.lib cw32.lib,,