]> git.saurik.com Git - wxWidgets.git/blob - samples/combo/makefile.dmc
glibc's vswprintf doesn't nul terminate on truncation.
[wxWidgets.git] / samples / combo / makefile.dmc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 include ../../build/msw/config.dmc
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 WX_RELEASE_NODOT = 27
16 OBJS = dmc_msw$(CFG)
17 LIBTYPE_SUFFIX = lib
18 LIBDIRNAME = .\..\..\lib\dmc_$(LIBTYPE_SUFFIX)$(CFG)
19 SETUPHDIR = $(LIBDIRNAME)\msw
20 COMBO_CXXFLAGS = -o -D_WIN32_WINNT=0x0400 -D__WXMSW__ -I$(SETUPHDIR) \
21 -I.\..\..\include -w- -I. -WA -I.\..\..\samples -DNOPCH -Ar -Ae $(CPPFLAGS) \
22 $(CXXFLAGS)
23 COMBO_OBJECTS = \
24 $(OBJS)\combo_combo.obj
25
26 ### Targets: ###
27
28 all : $(OBJS)\combo.exe
29
30 clean :
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)\combo.exe del $(OBJS)\combo.exe
35 -if exist $(OBJS)\combo.map del $(OBJS)\combo.map
36
37 $(OBJS)\combo.exe : $(COMBO_OBJECTS) $(OBJS)\combo_sample.res
38 link /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT $(LDFLAGS) /su:windows:4.0 $(COMBO_OBJECTS),$@,$(OBJS)\combo.map, $(LIBDIRNAME)\ wxmsw$(WX_RELEASE_NODOT)$(WX_LIB_FLAVOUR)_core.lib wxbase$(WX_RELEASE_NODOT)$(WX_LIB_FLAVOUR).lib wxmsw$(WX_RELEASE_NODOT)$(WX_LIB_FLAVOUR)_adv.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.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)\combo_sample.res
39
40 $(OBJS)\combo_sample.res : .\..\..\samples\sample.rc
41 rcc .\..\..\samples\sample.rc -o$@ -D_WIN32_WINNT=0x0400 -D__WXMSW__ -I$(SETUPHDIR) -I.\..\..\include -I. -I.\..\..\samples -32 -v-
42
43 $(OBJS)\combo_combo.obj : .\combo.cpp
44 $(CXX) -mn -c -cpp -o$@ $(COMBO_CXXFLAGS) .\combo.cpp
45