]>
Commit | Line | Data |
---|---|---|
250700e4 RD |
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 | # ========================================================================= | |
4638d697 | 6 | |
250700e4 RD |
7 | !include <../../../build/config.vc> |
8 | ||
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
15 | ANITEST_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS_6)$(__DEBUGFLAG_2) $(__DEBUGFLAG_0) /Fd$(OBJS)\anitest.pdb $(__OPTIMIZEFLAG_3) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include /I.\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /I.\..\..\..\src\tiff /I.\..\..\..\src\jpeg /I.\..\..\..\src\png /I.\..\..\..\src\zlib /I.\..\..\..\src\regex /I. $(__DLLFLAG_p) /I.\..\..\include $(CXXFLAGS) | |
16 | OBJS = vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
17 | ||
18 | ### Conditionally set variables: ### | |
19 | ||
20 | !if "$(USE_GUI)" == "0" | |
21 | PORTNAME = base | |
22 | !endif | |
23 | !if "$(USE_GUI)" == "1" | |
24 | PORTNAME = msw | |
25 | !endif | |
26 | !if "$(BUILD)" == "debug" | |
27 | WXDEBUGFLAG = d | |
28 | !endif | |
29 | !if "$(SHARED)" == "1" | |
30 | WXDLLFLAG = dll | |
31 | !endif | |
32 | !if "$(UNICODE)" == "1" | |
33 | WXUNICODEFLAG = u | |
34 | !endif | |
35 | !if "$(WXUNIV)" == "1" | |
36 | WXUNIVNAME = univ | |
37 | !endif | |
38 | !if "$(BUILD)" == "debug" | |
39 | __DEBUGFLAG_0 = /Zi | |
40 | !endif | |
41 | !if "$(BUILD)" == "release" | |
42 | __DEBUGFLAG_0 = | |
43 | !endif | |
44 | !if "$(BUILD)" == "debug" | |
45 | __DEBUGFLAG_1 = /DEBUG | |
46 | !endif | |
47 | !if "$(BUILD)" == "release" | |
48 | __DEBUGFLAG_1 = | |
49 | !endif | |
50 | !if "$(BUILD)" == "debug" | |
51 | __DEBUGFLAG_2 = d | |
52 | !endif | |
53 | !if "$(BUILD)" == "release" | |
54 | __DEBUGFLAG_2 = | |
55 | !endif | |
56 | !if "$(BUILD)" == "debug" | |
57 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
7c9955d1 | 58 | !endif |
250700e4 RD |
59 | !if "$(SHARED)" == "1" |
60 | __DLLFLAG_p = /DWXUSINGDLL | |
61 | !endif | |
62 | !if "$(BUILD)" == "debug" | |
63 | __OPTIMIZEFLAG_3 = /Od | |
64 | !endif | |
65 | !if "$(BUILD)" == "release" | |
66 | __OPTIMIZEFLAG_3 = /O2 | |
67 | !endif | |
68 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
69 | __RUNTIME_LIBS_6 = D | |
70 | !endif | |
71 | !if "$(RUNTIME_LIBS)" == "static" | |
72 | __RUNTIME_LIBS_6 = | |
73 | !endif | |
74 | !if "$(UNICODE)" == "1" | |
75 | __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1 | |
76 | !endif | |
77 | !if "$(MONOLITHIC)" == "0" | |
78 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
79 | !endif | |
80 | !if "$(MONOLITHIC)" == "0" | |
81 | __WXLIB_CORE_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
82 | !endif | |
83 | !if "$(MONOLITHIC)" == "1" | |
84 | __WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
85 | !endif | |
86 | !if "$(WXUNIV)" == "1" | |
87 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
88 | !endif | |
89 | ||
90 | ||
91 | all: $(OBJS) | |
92 | $(OBJS): | |
93 | -if not exist $(OBJS) mkdir $(OBJS) | |
94 | ||
95 | ### Targets: ### | |
96 | ||
97 | all: $(OBJS)\anitest.exe data | |
98 | ||
99 | $(OBJS)\anitest_anitest.obj: .\anitest.cpp | |
100 | $(CXX) /c /nologo /TP /Fo$@ $(ANITEST_CXXFLAGS) $** | |
101 | ||
102 | $(OBJS)\anitest.exe: $(OBJS)\anitest_anitest.obj | |
103 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGFLAG_1) /LIBPATH:.\..\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) /SUBSYSTEM:WINDOWS @<< | |
104 | $(OBJS)\anitest_anitest.obj wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib | |
105 | << | |
4638d697 | 106 | |
250700e4 RD |
107 | clean: |
108 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
109 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
110 | -if exist $(OBJS)\anitest.exe del $(OBJS)\anitest.exe | |
4638d697 | 111 | |
250700e4 RD |
112 | data: |
113 | if not exist $(OBJS) mkdir $(OBJS) | |
114 | for %f in (bttrfly.gif hooked.gif tbttrfly.gif mondrian.ico) do if not exist $(OBJS)\%f copy .\%f $(OBJS) |