1# =========================================================================
2#     This makefile was generated by
3#     Bakefile 0.2.9 (http://www.bakefile.org)
4#     Do not modify, all changes will be overwritten!
5# =========================================================================
6
7include ../../build/msw/config.dmc
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
15WX_RELEASE_NODOT = 28
16OBJS = dmc_mswd$(CFG)
17LIBTYPE_SUFFIX = lib
18LIBDIRNAME = .\..\..\lib\dmc_$(LIBTYPE_SUFFIX)$(CFG)
19SETUPHDIR = $(LIBDIRNAME)\mswd
20SPLASH_CXXFLAGS = -g -o+none -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D__WXDEBUG__ \
21	-I$(SETUPHDIR) -I.\..\..\include -w- -I. -WA -I.\..\..\samples -DNOPCH -Ar -Ae \
22	$(CPPFLAGS) $(CXXFLAGS)
23SPLASH_OBJECTS =  \
24	$(OBJS)\splash_splash.obj
25
26### Targets: ###
27
28all : $(OBJS)\splash.exe data
29
30clean :
31	-if exist $(OBJS)\*.obj del $(OBJS)\*.obj
32	-if exist $(OBJS)\*.res del $(OBJS)\*.res
33	-if exist $(OBJS)\*.sym del $(OBJS)\*.sym
34	-if exist $(OBJS)\splash.exe del $(OBJS)\splash.exe
35	-if exist $(OBJS)\splash.map del $(OBJS)\splash.map
36
37$(OBJS)\splash.exe : $(SPLASH_OBJECTS)  $(OBJS)\splash_sample.res
38	link /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT  /DEBUG /CODEVIEW  /su:windows:4.0 $(LDFLAGS) $(SPLASH_OBJECTS),$@,$(OBJS)\splash.map, $(LIBDIRNAME)\ wxmsw$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR)_media.lib  wxmsw$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR)_adv.lib  wxmsw$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR)_html.lib  wxbase$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR)_xml.lib  wxmsw$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR)_core.lib  wxbase$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR).lib   wxtiffd.lib wxjpegd.lib wxpngd.lib  wxzlibd.lib  wxregexd.lib wxexpatd.lib     \ kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib,, $(OBJS)\splash_sample.res
39
40data :
41	if not exist $(OBJS) mkdir $(OBJS)
42	for %f in (splash.png press.mpg) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
43
44$(OBJS)\splash_splash.obj : .\splash.cpp
45	$(CXX) -mn -c -cpp -o$@ $(SPLASH_CXXFLAGS) .\splash.cpp
46
47$(OBJS)\splash_sample.res : .\..\sample.rc
48	rcc .\..\sample.rc -o$@   -D_WIN32_WINNT=0x0400 -D__WXMSW__  -D__WXDEBUG__        -I$(SETUPHDIR) -I.\..\..\include  -I.  -I.\..\..\samples -DNOPCH -32 -v-
49
50