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
20DND_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)
23DND_OBJECTS =  \
24	$(OBJS)\dnd_dnd.obj
25
26### Targets: ###
27
28all : $(OBJS)\dnd.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)\dnd.exe del $(OBJS)\dnd.exe
35	-if exist $(OBJS)\dnd.map del $(OBJS)\dnd.map
36
37$(OBJS)\dnd.exe : $(DND_OBJECTS)  $(OBJS)\dnd_dnd.res
38	link /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT  /DEBUG /CODEVIEW  /su:windows:4.0 $(LDFLAGS) $(DND_OBJECTS),$@,$(OBJS)\dnd.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)\dnd_dnd.res
39
40data :
41	if not exist $(OBJS) mkdir $(OBJS)
42	for %f in (wxwin.png) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
43
44$(OBJS)\dnd_dnd.obj : .\dnd.cpp
45	$(CXX) -mn -c -cpp -o$@ $(DND_CXXFLAGS) .\dnd.cpp
46
47$(OBJS)\dnd_dnd.res : .\dnd.rc
48	rcc .\dnd.rc -o$@   -D_WIN32_WINNT=0x0400 -D__WXMSW__  -D__WXDEBUG__        -I$(SETUPHDIR) -I.\..\..\include  -I.  -I.\..\..\samples -DNOPCH -32 -v-
49
50