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]
14 # Name of your custom configuration. This affects directory
15 # where object files are stored as well as the location of
16 # compiled .lib files and setup.h under the lib/ toplevel directory.
18 # Standard preprocessor flags (common for CC and CXX)
19 CPPFLAGS = /DWIN32 /D_WINDOWS
22 # Standard flags for C++
24 # Standard linker flags
26 # Multiple libraries or single huge monolithic one? [0,1]
28 # Is this official build by wxWindows developers? [0,1]
30 # What type of library to build? [0,1]
32 # Compile Unicode build of wxWindows? [0,1]
34 # Build GUI libraries? [0,1]
36 # Build wxUniversal instead of native port? [0,1]
39 # -------------------------------------------------------------------------
40 # Do not modify the rest of this file!
41 # -------------------------------------------------------------------------
45 OBJS = objs_vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
46 CONSOLE_CXXFLAGS = $(CPPFLAGS) /MD /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I./../../include /I./../../lib\vc_$(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)
48 ### Conditionally set variables: ###
50 !if "$(USE_GUI)" == "0"
53 !if "$(USE_GUI)" == "1"
56 !if "$(BUILD)" == "debug"
59 !if "$(SHARED)" == "1"
62 !if "$(UNICODE)" == "1"
65 !if "$(WXUNIV)" == "1"
68 !if "$(BUILD)" == "debug"
69 __DEBUG_DEFINE_p = /D__WXDEBUG__
71 !if "$(SHARED)" == "1"
72 __DLLFLAG_p = /DWXUSINGDLL
74 !if "$(MONOLITHIC)" == "0"
75 __MULTILIB_FLAG_p = /DwxUSE_GUI=0
77 !if "$(UNICODE)" == "1"
78 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
80 !if "$(MONOLITHIC)" == "0"
81 __WXLIB_BASE_p = wx25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_base.lib
83 !if "$(MONOLITHIC)" == "1"
84 __WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
86 !if "$(WXUNIV)" == "1"
87 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
93 -if not exist $(OBJS) mkdir $(OBJS)
97 all: $(OBJS)\console.exe data
99 $(OBJS)\console_console.obj: .\console.cpp
100 $(CXX) /c /nologo /TP /Fo$@ $(CONSOLE_CXXFLAGS) $**
103 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
104 -if exist $(OBJS)\*.res del $(OBJS)\*.res
105 -if exist $(OBJS)\console.exe del $(OBJS)\console.exe
106 -if exist $(OBJS)\testdata.fc del $(OBJS)\testdata.fc
108 $(OBJS)\console.exe: $(OBJS)\console_console.obj
109 link /NOLOGO /OUT:$@ $(LDFLAGS) /LIBPATH:.\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /SUBSYSTEM:CONSOLE /SUBSYSTEM:CONSOLE @<<
110 $(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 kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib oldnames.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib