1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1.20030719 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 include ../../build/config.gcc
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
15 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)
16 OBJS = gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 ### Conditionally set variables: ###
20 ifeq ($(GCC_VERSION),2.95)
21 GCCFLAGS = -fvtable-thunks
44 ifeq ($(BUILD),release)
48 __DEBUG_DEFINE_p = -D__WXDEBUG__
51 __DLLFLAG_p = -DWXUSINGDLL
53 ifeq ($(MONOLITHIC),0)
54 __MULTILIB_FLAG_p = -DwxUSE_GUI=0
57 __OPTIMIZEFLAG_2 = -O0
59 ifeq ($(BUILD),release)
60 __OPTIMIZEFLAG_2 = -O2
63 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
65 ifeq ($(MONOLITHIC),0)
66 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
68 ifeq ($(MONOLITHIC),1)
69 __WXLIB_MONO_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
72 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
78 -if not exist $(OBJS) mkdir $(OBJS)
82 all: $(OBJS)\console.exe data
84 $(OBJS)\console_console.o: .\console.cpp
85 $(CXX) -c -o $@ $(CONSOLE_CXXFLAGS) $<
88 -if exist $(OBJS)\*.o del $(OBJS)\*.o
89 -if exist $(OBJS)\console.exe del $(OBJS)\console.exe
91 $(OBJS)\console.exe: $(OBJS)\console_console.o
92 $(CXX) -o $@ $(OBJS)\console_console.o $(LDFLAGS) $(__DEBUGFLAG) -mthreads -L.\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) $(__WXLIB_BASE_p) $(__WXLIB_MONO_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
95 if not exist $(OBJS) mkdir $(OBJS)
96 for %%f in (testdata.fc) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS)