]>
Commit | Line | Data |
---|---|---|
03206f17 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
8c9f8f91 | 3 | # Bakefile 0.1.8 (http://bakefile.sourceforge.net) |
03206f17 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
fd9f42b6 | 7 | include ../../../build/msw/config.gcc |
03206f17 VS |
8 | |
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
c33fae85 | 15 | WX_RELEASE_NODOT = 25 |
b17c1746 DE |
16 | OBJS = \ |
17 | gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
b14abf14 | 18 | LIBDIRNAME = .\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG) |
b17c1746 DE |
19 | SETUPHDIR = \ |
20 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
8c9f8f91 JS |
21 | FL_DEMO1_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \ |
22 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
23 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
24 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \ | |
25 | -I$(SETUPHDIR) -W -Wall -I. $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH \ | |
26 | -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ | |
b14abf14 | 27 | -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) |
03206f17 VS |
28 | FL_DEMO1_OBJECTS = \ |
29 | $(OBJS)\fl_demo1_fl_demo1.o \ | |
30 | $(OBJS)\fl_demo1_fl_demo1_rc.o | |
8c9f8f91 JS |
31 | FL_DEMO2_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \ |
32 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
33 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
34 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \ | |
35 | -I$(SETUPHDIR) -W -Wall -I. $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH \ | |
36 | -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ | |
b14abf14 | 37 | -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) |
03206f17 VS |
38 | FL_DEMO2_OBJECTS = \ |
39 | $(OBJS)\fl_demo2_fl_demo2.o \ | |
40 | $(OBJS)\fl_demo2_fl_demo2_rc.o | |
8c9f8f91 JS |
41 | FL_SAMPLE1_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \ |
42 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
43 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
44 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \ | |
45 | -I$(SETUPHDIR) -W -Wall -I. $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH \ | |
46 | -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ | |
b14abf14 | 47 | -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) |
03206f17 VS |
48 | FL_SAMPLE1_OBJECTS = \ |
49 | $(OBJS)\fl_sample1_fl_sample1.o \ | |
50 | $(OBJS)\fl_sample1_fl_sample1_rc.o | |
8c9f8f91 JS |
51 | FL_SAMPLE2_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \ |
52 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
53 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
54 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \ | |
55 | -I$(SETUPHDIR) -W -Wall -I. $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH \ | |
56 | -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ | |
b14abf14 | 57 | -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) |
03206f17 VS |
58 | FL_SAMPLE2_OBJECTS = \ |
59 | $(OBJS)\fl_sample2_fl_sample2.o \ | |
60 | $(OBJS)\fl_sample2_fl_sample2_rc.o | |
8c9f8f91 JS |
61 | FL_SAMPLE3_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \ |
62 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
63 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
64 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \ | |
65 | -I$(SETUPHDIR) -W -Wall -I. $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH \ | |
66 | -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ | |
b14abf14 | 67 | -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) |
03206f17 VS |
68 | FL_SAMPLE3_OBJECTS = \ |
69 | $(OBJS)\fl_sample3_fl_sample3.o \ | |
70 | $(OBJS)\fl_sample3_fl_sample3_rc.o | |
03206f17 VS |
71 | |
72 | ### Conditionally set variables: ### | |
73 | ||
74 | ifeq ($(GCC_VERSION),2.95) | |
75 | GCCFLAGS = -fvtable-thunks | |
76 | endif | |
77 | ifeq ($(USE_GUI),0) | |
78 | PORTNAME = base | |
79 | endif | |
80 | ifeq ($(USE_GUI),1) | |
81 | PORTNAME = msw | |
82 | endif | |
83 | ifeq ($(BUILD),debug) | |
84 | ifeq ($(DEBUG_FLAG),default) | |
85 | WXDEBUGFLAG = d | |
86 | endif | |
87 | endif | |
88 | ifeq ($(DEBUG_FLAG),1) | |
89 | WXDEBUGFLAG = d | |
90 | endif | |
03206f17 VS |
91 | ifeq ($(UNICODE),1) |
92 | WXUNICODEFLAG = u | |
93 | endif | |
94 | ifeq ($(WXUNIV),1) | |
95 | WXUNIVNAME = univ | |
96 | endif | |
b17c1746 DE |
97 | ifeq ($(SHARED),1) |
98 | WXDLLFLAG = dll | |
03206f17 | 99 | endif |
b14abf14 JS |
100 | ifeq ($(SHARED),0) |
101 | LIBTYPE_SUFFIX = lib | |
102 | endif | |
103 | ifeq ($(SHARED),1) | |
104 | LIBTYPE_SUFFIX = dll | |
105 | endif | |
dd65d8c8 RN |
106 | ifeq ($(MONOLITHIC),0) |
107 | EXTRALIBS_FOR_BASE = | |
108 | endif | |
109 | ifeq ($(MONOLITHIC),1) | |
110 | EXTRALIBS_FOR_BASE = | |
111 | endif | |
b17c1746 DE |
112 | ifeq ($(BUILD),debug) |
113 | __OPTIMIZEFLAG = -O0 | |
03206f17 VS |
114 | endif |
115 | ifeq ($(BUILD),release) | |
b17c1746 | 116 | __OPTIMIZEFLAG = -O2 |
03206f17 | 117 | endif |
8c9f8f91 JS |
118 | ifeq ($(USE_RTTI),0) |
119 | __RTTIFLAG = -fno-rtti | |
03206f17 | 120 | endif |
8c9f8f91 JS |
121 | ifeq ($(USE_RTTI),1) |
122 | __RTTIFLAG = | |
03206f17 | 123 | endif |
b17c1746 | 124 | ifeq ($(USE_EXCEPTIONS),0) |
8c9f8f91 | 125 | __EXCEPTIONSFLAG = -fno-exceptions |
b17c1746 DE |
126 | endif |
127 | ifeq ($(USE_EXCEPTIONS),1) | |
8c9f8f91 | 128 | __EXCEPTIONSFLAG = |
b17c1746 DE |
129 | endif |
130 | ifeq ($(WXUNIV),1) | |
131 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
132 | endif | |
133 | ifeq ($(WXUNIV),1) | |
134 | __WXUNIV_DEFINE_p_12 = --define __WXUNIVERSAL__ | |
03206f17 VS |
135 | endif |
136 | ifeq ($(BUILD),debug) | |
137 | ifeq ($(DEBUG_FLAG),default) | |
138 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
139 | endif | |
140 | endif | |
141 | ifeq ($(DEBUG_FLAG),1) | |
142 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
143 | endif | |
144 | ifeq ($(BUILD),debug) | |
145 | ifeq ($(DEBUG_FLAG),default) | |
b17c1746 | 146 | __DEBUG_DEFINE_p_12 = --define __WXDEBUG__ |
03206f17 VS |
147 | endif |
148 | endif | |
149 | ifeq ($(DEBUG_FLAG),1) | |
b17c1746 DE |
150 | __DEBUG_DEFINE_p_12 = --define __WXDEBUG__ |
151 | endif | |
8c9f8f91 JS |
152 | ifeq ($(USE_EXCEPTIONS),0) |
153 | __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
154 | endif | |
155 | ifeq ($(USE_EXCEPTIONS),0) | |
156 | __EXCEPTIONS_DEFINE_p_12 = --define wxNO_EXCEPTIONS | |
157 | endif | |
158 | ifeq ($(USE_RTTI),0) | |
159 | __RTTI_DEFINE_p = -DwxNO_RTTI | |
160 | endif | |
161 | ifeq ($(USE_RTTI),0) | |
162 | __RTTI_DEFINE_p_12 = --define wxNO_RTTI | |
163 | endif | |
164 | ifeq ($(USE_THREADS),0) | |
165 | __THREAD_DEFINE_p = -DwxNO_THREADS | |
166 | endif | |
167 | ifeq ($(USE_THREADS),0) | |
168 | __THREAD_DEFINE_p_12 = --define wxNO_THREADS | |
169 | endif | |
b17c1746 DE |
170 | ifeq ($(UNICODE),1) |
171 | __UNICODE_DEFINE_p = -D_UNICODE | |
172 | endif | |
173 | ifeq ($(UNICODE),1) | |
174 | __UNICODE_DEFINE_p_12 = --define _UNICODE | |
175 | endif | |
03206f17 VS |
176 | ifeq ($(SHARED),1) |
177 | __DLLFLAG_p = -DWXUSINGDLL | |
178 | endif | |
179 | ifeq ($(SHARED),1) | |
b17c1746 | 180 | __DLLFLAG_p_12 = --define WXUSINGDLL |
03206f17 | 181 | endif |
b17c1746 DE |
182 | ifeq ($(MONOLITHIC),0) |
183 | __WXLIB_CORE_p = \ | |
c33fae85 | 184 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core |
a4ad36cd | 185 | endif |
b17c1746 | 186 | ifeq ($(MONOLITHIC),0) |
c33fae85 RN |
187 | __WXLIB_BASE_p = \ |
188 | -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) | |
a4ad36cd | 189 | endif |
b17c1746 DE |
190 | ifeq ($(MONOLITHIC),1) |
191 | __WXLIB_MONO_p = \ | |
c33fae85 | 192 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) |
a4ad36cd | 193 | endif |
b17c1746 | 194 | ifeq ($(USE_GUI),1) |
9c2d002b | 195 | __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG) |
a4ad36cd | 196 | endif |
03206f17 | 197 | ifeq ($(USE_GUI),1) |
9c2d002b | 198 | __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG) |
03206f17 VS |
199 | endif |
200 | ifeq ($(USE_GUI),1) | |
9c2d002b | 201 | __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG) |
03206f17 | 202 | endif |
2265a2d5 VS |
203 | ifeq ($(MSLU),1) |
204 | __UNICOWS_LIB_p = -lunicows | |
205 | endif | |
b17c1746 DE |
206 | ifeq ($(BUILD),debug) |
207 | ifeq ($(DEBUG_INFO),default) | |
208 | __DEBUGINFO = -g | |
03206f17 | 209 | endif |
03206f17 | 210 | endif |
b17c1746 DE |
211 | ifeq ($(BUILD),release) |
212 | ifeq ($(DEBUG_INFO),default) | |
213 | __DEBUGINFO = | |
03206f17 | 214 | endif |
03206f17 | 215 | endif |
b17c1746 DE |
216 | ifeq ($(DEBUG_INFO),0) |
217 | __DEBUGINFO = | |
218 | endif | |
219 | ifeq ($(DEBUG_INFO),1) | |
220 | __DEBUGINFO = -g | |
03206f17 | 221 | endif |
8c9f8f91 JS |
222 | ifeq ($(USE_THREADS),0) |
223 | __THREADSFLAG = | |
224 | endif | |
225 | ifeq ($(USE_THREADS),1) | |
226 | __THREADSFLAG = -mthreads | |
227 | endif | |
03206f17 VS |
228 | |
229 | ||
230 | all: $(OBJS) | |
231 | $(OBJS): | |
232 | -if not exist $(OBJS) mkdir $(OBJS) | |
233 | ||
234 | ### Targets: ### | |
235 | ||
9d5f4fbb | 236 | all: $(OBJS)\fl_demo1.exe $(OBJS)\fl_demo2.exe $(OBJS)\fl_sample1.exe $(OBJS)\fl_sample2.exe $(OBJS)\fl_sample3.exe data_files |
03206f17 | 237 | |
b17c1746 DE |
238 | clean: |
239 | -if exist $(OBJS)\*.o del $(OBJS)\*.o | |
240 | -if exist $(OBJS)\fl_demo1.exe del $(OBJS)\fl_demo1.exe | |
241 | -if exist $(OBJS)\fl_demo2.exe del $(OBJS)\fl_demo2.exe | |
242 | -if exist $(OBJS)\fl_sample1.exe del $(OBJS)\fl_sample1.exe | |
243 | -if exist $(OBJS)\fl_sample2.exe del $(OBJS)\fl_sample2.exe | |
244 | -if exist $(OBJS)\fl_sample3.exe del $(OBJS)\fl_sample3.exe | |
245 | ||
246 | $(OBJS)\fl_demo1.exe: $(FL_DEMO1_OBJECTS) $(OBJS)\fl_demo1_fl_demo1_rc.o | |
8c9f8f91 | 247 | $(CXX) -o $@ $(FL_DEMO1_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 |
b17c1746 DE |
248 | |
249 | $(OBJS)\fl_demo2.exe: $(FL_DEMO2_OBJECTS) $(OBJS)\fl_demo2_fl_demo2_rc.o | |
8c9f8f91 | 250 | $(CXX) -o $@ $(FL_DEMO2_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 |
b17c1746 DE |
251 | |
252 | $(OBJS)\fl_sample1.exe: $(FL_SAMPLE1_OBJECTS) $(OBJS)\fl_sample1_fl_sample1_rc.o | |
8c9f8f91 | 253 | $(CXX) -o $@ $(FL_SAMPLE1_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 |
b17c1746 DE |
254 | |
255 | $(OBJS)\fl_sample2.exe: $(FL_SAMPLE2_OBJECTS) $(OBJS)\fl_sample2_fl_sample2_rc.o | |
8c9f8f91 | 256 | $(CXX) -o $@ $(FL_SAMPLE2_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 |
b17c1746 DE |
257 | |
258 | $(OBJS)\fl_sample3.exe: $(FL_SAMPLE3_OBJECTS) $(OBJS)\fl_sample3_fl_sample3_rc.o | |
8c9f8f91 | 259 | $(CXX) -o $@ $(FL_SAMPLE3_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 |
b17c1746 DE |
260 | |
261 | data_files: | |
262 | if not exist $(OBJS)\bitmaps mkdir $(OBJS)\bitmaps | |
263 | for %%f in (bookmarks.bmp class_icon.bmp class_icon1.bmp copy.bmp cut.bmp file_icon.bmp folder_icon.bmp help_icon.bmp new.bmp nextmark.bmp open.bmp paste.bmp prevmark.bmp res_icon.bmp save.bmp saveall.bmp search.bmp start95_dp.bmp start95_pr.bmp tile.bmp) do if not exist $(OBJS)\bitmaps\%%f copy .\bitmaps\%%f $(OBJS)\bitmaps | |
264 | ||
9d5f4fbb | 265 | $(OBJS)\fl_demo1_fl_demo1.o: ./fl_demo1.cpp |
03206f17 VS |
266 | $(CXX) -c -o $@ $(FL_DEMO1_CXXFLAGS) $< |
267 | ||
9d5f4fbb | 268 | $(OBJS)\fl_demo1_fl_demo1_rc.o: ./fl_demo1.rc |
8c9f8f91 | 269 | windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__EXCEPTIONS_DEFINE_p_12) $(__RTTI_DEFINE_p_12) $(__THREAD_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) --include-dir ./../../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../../samples --define NOPCH --include-dir ./../../include --define BMP_DIR="bitmaps/" |
03206f17 | 270 | |
9d5f4fbb | 271 | $(OBJS)\fl_demo2_fl_demo2.o: ./fl_demo2.cpp |
03206f17 VS |
272 | $(CXX) -c -o $@ $(FL_DEMO2_CXXFLAGS) $< |
273 | ||
9d5f4fbb | 274 | $(OBJS)\fl_demo2_fl_demo2_rc.o: ./fl_demo2.rc |
8c9f8f91 | 275 | windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__EXCEPTIONS_DEFINE_p_12) $(__RTTI_DEFINE_p_12) $(__THREAD_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) --include-dir ./../../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../../samples --define NOPCH --include-dir ./../../include --define BMP_DIR="bitmaps/" |
03206f17 | 276 | |
9d5f4fbb | 277 | $(OBJS)\fl_sample1_fl_sample1.o: ./fl_sample1.cpp |
03206f17 VS |
278 | $(CXX) -c -o $@ $(FL_SAMPLE1_CXXFLAGS) $< |
279 | ||
9d5f4fbb | 280 | $(OBJS)\fl_sample1_fl_sample1_rc.o: ./fl_sample1.rc |
8c9f8f91 | 281 | windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__EXCEPTIONS_DEFINE_p_12) $(__RTTI_DEFINE_p_12) $(__THREAD_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) --include-dir ./../../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../../samples --define NOPCH --include-dir ./../../include --define BMP_DIR="bitmaps/" |
03206f17 | 282 | |
9d5f4fbb | 283 | $(OBJS)\fl_sample2_fl_sample2.o: ./fl_sample2.cpp |
03206f17 VS |
284 | $(CXX) -c -o $@ $(FL_SAMPLE2_CXXFLAGS) $< |
285 | ||
9d5f4fbb | 286 | $(OBJS)\fl_sample2_fl_sample2_rc.o: ./fl_sample2.rc |
8c9f8f91 | 287 | windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__EXCEPTIONS_DEFINE_p_12) $(__RTTI_DEFINE_p_12) $(__THREAD_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) --include-dir ./../../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../../samples --define NOPCH --include-dir ./../../include --define BMP_DIR="bitmaps/" |
03206f17 | 288 | |
9d5f4fbb | 289 | $(OBJS)\fl_sample3_fl_sample3.o: ./fl_sample3.cpp |
03206f17 VS |
290 | $(CXX) -c -o $@ $(FL_SAMPLE3_CXXFLAGS) $< |
291 | ||
9d5f4fbb | 292 | $(OBJS)\fl_sample3_fl_sample3_rc.o: ./fl_sample3.rc |
8c9f8f91 | 293 | windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__EXCEPTIONS_DEFINE_p_12) $(__RTTI_DEFINE_p_12) $(__THREAD_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) --include-dir ./../../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../../samples --define NOPCH --include-dir ./../../include --define BMP_DIR="bitmaps/" |
03206f17 | 294 | |
9d5f4fbb | 295 | .PHONY: all clean data_files |
b14abf14 | 296 | |
8c9f8f91 | 297 |