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 WIDGETS_CXXFLAGS = $(CPPFLAGS) -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) $(CXXFLAGS)
53 ### Conditionally set variables: ###
74 __DEBUG_DEFINE_p = -D__WXDEBUG__
77 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
80 __DLLFLAG_p = -DWXUSINGDLL
83 __DLLFLAG_p_1 = --define WXUSINGDLL
86 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
89 __UNICODE_DEFINE_p_1 = --define wxUSE_UNICODE=1
91 ifeq ($(MONOLITHIC),0)
92 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
94 ifeq ($(MONOLITHIC),0)
95 __WXLIB_CORE_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
97 ifeq ($(MONOLITHIC),1)
98 __WXLIB_MONO_p = -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
101 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
104 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
110 -if not exist $(OBJS) mkdir $(OBJS)
114 all: $(OBJS)\widgets.exe
116 $(OBJS)\widgets_button.o: .\button.cpp
117 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $<
119 $(OBJS)\widgets_combobox.o: .\combobox.cpp
120 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $<
122 $(OBJS)\widgets_gauge.o: .\gauge.cpp
123 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $<
125 $(OBJS)\widgets_listbox.o: .\listbox.cpp
126 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $<
128 $(OBJS)\widgets_notebook.o: .\notebook.cpp
129 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $<
131 $(OBJS)\widgets_radiobox.o: .\radiobox.cpp
132 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $<
134 $(OBJS)\widgets_slider.o: .\slider.cpp
135 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $<
137 $(OBJS)\widgets_spinbtn.o: .\spinbtn.cpp
138 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $<
140 $(OBJS)\widgets_static.o: .\static.cpp
141 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $<
143 $(OBJS)\widgets_textctrl.o: .\textctrl.cpp
144 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $<
146 $(OBJS)\widgets_widgets.o: .\widgets.cpp
147 $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $<
149 $(OBJS)\widgets_widgets_rc.o: .\widgets.rc
150 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) --include-dir ./../../include --include-dir ./../../lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) --include-dir ./../../src/tiff --include-dir ./../../src/jpeg --include-dir ./../../src/png --include-dir ./../../src/zlib --include-dir ./../../src/regex --include-dir . $(__DLLFLAG_p_1)
153 -if exist $(OBJS)\*.o del $(OBJS)\*.o
154 -if exist $(OBJS)\widgets.exe del $(OBJS)\widgets.exe
160 $(OBJS)\widgets.exe: $(OBJS)\widgets_button.o $(OBJS)\widgets_combobox.o $(OBJS)\widgets_gauge.o $(OBJS)\widgets_listbox.o $(OBJS)\widgets_notebook.o $(OBJS)\widgets_radiobox.o $(OBJS)\widgets_slider.o $(OBJS)\widgets_spinbtn.o $(OBJS)\widgets_static.o $(OBJS)\widgets_textctrl.o $(OBJS)\widgets_widgets.o $(OBJS)\widgets_widgets_rc.o
161 $(CXX) -o $@ $(OBJS)\widgets_button.o $(OBJS)\widgets_combobox.o $(OBJS)\widgets_gauge.o $(OBJS)\widgets_listbox.o $(OBJS)\widgets_notebook.o $(OBJS)\widgets_radiobox.o $(OBJS)\widgets_slider.o $(OBJS)\widgets_spinbtn.o $(OBJS)\widgets_static.o $(OBJS)\widgets_textctrl.o $(OBJS)\widgets_widgets.o $(OBJS)\widgets_widgets_rc.o $(LDFLAGS) -L.\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -Wl,--subsystem,windows -mwindows $(__WXLIB_MONO_p) $(__WXLIB_CORE_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