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 # =========================================================================
7 !include <../../build/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
15 CONSOLE_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS_6)$(__DEBUGFLAG_2) $(__DEBUGFLAG_0) /Fd$(OBJS)\console.pdb $(__OPTIMIZEFLAG_3) /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)
16 OBJS = vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 ### Conditionally set variables: ###
20 !if "$(USE_GUI)" == "0"
23 !if "$(USE_GUI)" == "1"
26 !if "$(BUILD)" == "debug"
29 !if "$(SHARED)" == "1"
32 !if "$(UNICODE)" == "1"
35 !if "$(WXUNIV)" == "1"
38 !if "$(BUILD)" == "debug"
41 !if "$(BUILD)" == "release"
44 !if "$(BUILD)" == "debug"
45 __DEBUGFLAG_1 = /DEBUG
47 !if "$(BUILD)" == "release"
50 !if "$(BUILD)" == "debug"
53 !if "$(BUILD)" == "release"
56 !if "$(BUILD)" == "debug"
57 __DEBUG_DEFINE_p = /D__WXDEBUG__
59 !if "$(SHARED)" == "1"
60 __DLLFLAG_p = /DWXUSINGDLL
62 !if "$(MONOLITHIC)" == "0"
63 __MULTILIB_FLAG_p = /DwxUSE_GUI=0
65 !if "$(BUILD)" == "debug"
66 __OPTIMIZEFLAG_3 = /Od
68 !if "$(BUILD)" == "release"
69 __OPTIMIZEFLAG_3 = /O2
71 !if "$(RUNTIME_LIBS)" == "dynamic"
74 !if "$(RUNTIME_LIBS)" == "static"
77 !if "$(UNICODE)" == "1"
78 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
80 !if "$(MONOLITHIC)" == "0"
81 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).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
107 $(OBJS)\console.exe: $(OBJS)\console_console.obj
108 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGFLAG_1) /LIBPATH:.\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /SUBSYSTEM:CONSOLE @<<
109 $(OBJS)\console_console.obj $(__WXLIB_BASE_p) $(__WXLIB_MONO_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 comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib
113 if not exist $(OBJS) mkdir $(OBJS)
114 for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS)