2 # =========================================================================
3 # This makefile was generated by
4 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
5 # Do not modify, all changes will be overwritten!
6 # =========================================================================
9 # -------------------------------------------------------------------------
10 # These are configurable options:
11 # -------------------------------------------------------------------------
13 # Type of compiled binaries [debug,release]
15 # Name of your custom configuration. This affects directory
16 # where object files are stored as well as the location of
17 # compiled .lib files and setup.h under the lib/ toplevel directory.
19 # Standard preprocessor flags (common for CC and CXX)
23 # Standard flags for C++
25 # Set the version of your Mingw installation here.
26 # "3" ...... this is for Mingw 2.0 or newer that cames with gcc3
27 # "2.95" ... for Mingw 1.1 or any of the older versions [3,2.95]
29 # Standard linker flags
31 # Multiple libraries or single huge monolithic one? [0,1]
33 # Is this official build by wxWindows developers? [0,1]
35 # What type of library to build? [0,1]
37 # Compile Unicode build of wxWindows? [0,1]
39 # Build GUI libraries? [0,1]
41 # Build wxUniversal instead of native port? [0,1]
44 # -------------------------------------------------------------------------
45 # Do not modify the rest of this file!
46 # -------------------------------------------------------------------------
50 OBJS = gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
51 CONSOLE_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\include -I.\..\..\lib\gcc_$(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)
53 ### Conditionally set variables: ###
55 ifeq ($(GCC_VERSION),2.95)
56 GCCFLAGS = -fvtable-thunks
79 ifeq ($(BUILD),release)
83 __DEBUG_DEFINE_p = -D__WXDEBUG__
86 __DLLFLAG_p = -DWXUSINGDLL
88 ifeq ($(MONOLITHIC),0)
89 __MULTILIB_FLAG_p = -DwxUSE_GUI=0
92 __OPTIMIZEFLAG_2 = -O0
94 ifeq ($(BUILD),release)
95 __OPTIMIZEFLAG_2 = -O2
98 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
100 ifeq ($(MONOLITHIC),0)
101 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
103 ifeq ($(MONOLITHIC),1)
104 __WXLIB_MONO_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
107 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
113 -if not exist $(OBJS) mkdir $(OBJS)
117 all: $(OBJS)\console.exe data
119 $(OBJS)\console_console.o: .\console.cpp
120 $(CXX) -c -o $@ $(CONSOLE_CXXFLAGS) $<
123 -if exist $(OBJS)\*.o del $(OBJS)\*.o
124 -if exist $(OBJS)\console.exe del $(OBJS)\console.exe
126 $(OBJS)\console.exe: $(OBJS)\console_console.o
127 $(CXX) -o $@ $(OBJS)\console_console.o $(LDFLAGS) $(__DEBUGFLAG) -mthreads -L.\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) $(__WXLIB_MONO_p) $(__WXLIB_BASE_p) -lwxtiff$(WXDEBUGFLAG) -lwxjpeg$(WXDEBUGFLAG) -lwxpng$(WXDEBUGFLAG) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32
130 if not exist $(OBJS) mkdir $(OBJS)
131 for %%f in (testdata.fc) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS)
137 .PHONY: all clean install uninstall