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 20TEST_CXXFLAGS = -g -o+none -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D__WXDEBUG__ \ 21 -I$(SETUPHDIR) -I.\..\..\..\include -w- -I. -WA -I.\..\..\..\samples -DNOPCH \ 22 -Ar -Ae $(CPPFLAGS) $(CXXFLAGS) 23TEST_OBJECTS = \ 24 $(OBJS)\test_test.obj 25 26### Targets: ### 27 28all : $(OBJS)\test.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)\test.exe del $(OBJS)\test.exe 35 -if exist $(OBJS)\test.map del $(OBJS)\test.map 36 37$(OBJS)\test.exe : $(TEST_OBJECTS) $(OBJS)\test_test.res 38 link /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT /DEBUG /CODEVIEW /su:windows:4.0 $(LDFLAGS) $(TEST_OBJECTS),$@,$(OBJS)\test.map, $(LIBDIRNAME)\ wxmsw$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR)_html.lib wxmsw$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR)_core.lib wxbase$(WX_RELEASE_NODOT)d$(WX_LIB_FLAVOUR)_net.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)\test_test.res 39 40data : 41 if not exist $(OBJS) mkdir $(OBJS) 42 for %f in (f.html fft.html imagemap.htm imagemap.png pic.png pic2.bmp tables.htm test.htm listtest.htm i18n.gif 8859_2.htm cp1250.htm regres.htm foo.png subsup.html) do if not exist $(OBJS)\%f copy .\%f $(OBJS) 43 44$(OBJS)\test_test.obj : .\test.cpp 45 $(CXX) -mn -c -cpp -o$@ $(TEST_CXXFLAGS) .\test.cpp 46 47$(OBJS)\test_test.res : .\test.rc 48 rcc .\test.rc -o$@ -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D__WXDEBUG__ -I$(SETUPHDIR) -I.\..\..\..\include -I. -I.\..\..\..\samples -DNOPCH -32 -v- 49 50