]> git.saurik.com Git - wxWidgets.git/blame - samples/svg/makefile.gcc
fixed weird error
[wxWidgets.git] / samples / svg / makefile.gcc
CommitLineData
0ca4ab85
VS
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# =========================================================================
6
7include ../../../build/config.gcc
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15LIBDIRNAME = .\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
16LIBDIRNAME = \
17 .\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18OBJS = gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19OBJS = \
20 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
21SVGTEST_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(LIBDIRNAME) -I.\..\..\..\src\tiff -I.\..\..\..\src\jpeg -I.\..\..\..\src\png -I.\..\..\..\src\zlib -I.\..\..\..\src\regex -I.\..\..\..\src\expat\lib -I. $(__DLLFLAG_p) -I.\..\..\include $(CXXFLAGS)
22SVGTEST_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) \
23 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
24 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(LIBDIRNAME) \
25 -I.\..\..\..\src\tiff -I.\..\..\..\src\jpeg -I.\..\..\..\src\png \
26 -I.\..\..\..\src\zlib -I.\..\..\..\src\regex -I.\..\..\..\src\expat\lib -I. \
27 $(__DLLFLAG_p) -I.\..\..\include $(CXXFLAGS)
28SVGTEST_OBJECTS = $(OBJS)\svgtest_svgtest.o
29SVGTEST_OBJECTS = \
30 $(OBJS)\svgtest_svgtest.o
31
32### Conditionally set variables: ###
33
34ifeq ($(GCC_VERSION),2.95)
35GCCFLAGS = -fvtable-thunks
36endif
37ifeq ($(USE_GUI),0)
38PORTNAME = base
39endif
40ifeq ($(USE_GUI),1)
41PORTNAME = msw
42endif
43ifeq ($(BUILD),debug)
44WXDEBUGFLAG = d
45endif
46ifeq ($(SHARED),1)
47WXDLLFLAG = dll
48endif
49ifeq ($(UNICODE),1)
50WXUNICODEFLAG = u
51endif
52ifeq ($(WXUNIV),1)
53WXUNIVNAME = univ
54endif
55ifeq ($(BUILD),debug)
56__DEBUGFLAG = -g
57endif
58ifeq ($(BUILD),release)
59__DEBUGFLAG =
60endif
61ifeq ($(BUILD),debug)
62__DEBUG_DEFINE_p = -D__WXDEBUG__
63endif
64ifeq ($(SHARED),1)
65__DLLFLAG_p = -DWXUSINGDLL
66endif
67ifeq ($(USE_GUI),1)
68__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
69endif
70ifeq ($(USE_GUI),1)
71__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
72endif
73ifeq ($(USE_GUI),1)
74__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
75endif
76ifeq ($(BUILD),debug)
77__OPTIMIZEFLAG_2 = -O0
78endif
79ifeq ($(BUILD),release)
80__OPTIMIZEFLAG_2 = -O2
81endif
82ifeq ($(UNICODE),1)
83__UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
84endif
85ifeq ($(MONOLITHIC),0)
86__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
87endif
88ifeq ($(MONOLITHIC),0)
89__WXLIB_CORE_p = \
90 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
91endif
92ifeq ($(MONOLITHIC),1)
93__WXLIB_MONO_p = \
94 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
95endif
96ifeq ($(WXUNIV),1)
97__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
98endif
99
100
101all: $(OBJS)
102$(OBJS):
103 -if not exist $(OBJS) mkdir $(OBJS)
104
105### Targets: ###
106
107all: $(OBJS)\svgtest.exe
108
109$(OBJS)\svgtest_svgtest.o: .\svgtest.cpp
110 $(CXX) -c -o $@ $(SVGTEST_CXXFLAGS) $<
111
112clean:
113 -if exist $(OBJS)\*.o del $(OBJS)\*.o
114 -if exist $(OBJS)\svgtest.exe del $(OBJS)\svgtest.exe
115
116$(OBJS)\svgtest.exe: $(SVGTEST_OBJECTS)
117 $(CXX) -o $@ $(SVGTEST_OBJECTS) $(LDFLAGS) $(__DEBUGFLAG) -mthreads -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32
118
119.PHONY: all clean