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
20IMAGE_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)
23IMAGE_OBJECTS =  \
24	$(OBJS)\image_image.obj
25
26### Targets: ###
27
28all : $(OBJS)\image.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)\image.exe del $(OBJS)\image.exe
35	-if exist $(OBJS)\image.map del $(OBJS)\image.map
36
37$(OBJS)\image.exe : $(IMAGE_OBJECTS)  $(OBJS)\image_image.res
38	link /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT  /DEBUG /CODEVIEW  /su:windows:4.0 $(LDFLAGS) $(IMAGE_OBJECTS),$@,$(OBJS)\image.map, $(LIBDIRNAME)\ 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)\image_image.res
39
40data :
41	if not exist $(OBJS) mkdir $(OBJS)
42	for %f in (horse.png horse.jpg horse.bmp horse.gif horse.pcx horse.pnm horse_ag.pnm horse_rg.pnm horse.tif horse.tga horse.xpm horse.cur horse.ico horse3.ani smile.xbm toucan.png cmyk.jpg) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
43
44$(OBJS)\image_image.obj : .\image.cpp
45	$(CXX) -mn -c -cpp -o$@ $(IMAGE_CXXFLAGS) .\image.cpp
46
47$(OBJS)\image_image.res : .\image.rc
48	rcc .\image.rc -o$@   -D_WIN32_WINNT=0x0400 -D__WXMSW__  -D__WXDEBUG__        -I$(SETUPHDIR) -I.\..\..\include  -I.  -I.\..\..\samples -DNOPCH -32 -v-
49
50