• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# copyright John Maddock 2003
2# Distributed under the Boost Software License, Version 1.0.
3# (See accompanying file LICENSE_1_0.txt or copy at
4# http://www.boost.org/LICENSE_1_0.txt.
5
6# very basic makefile for regression tests
7#
8# Visual C++ 7.1
9#
10#
11# Add additional compiler options here:
12#
13CXXFLAGS=
14#
15# Add additional include directories here:
16#
17INCLUDES=
18#
19# add additional linker flags here:
20#
21XLFLAGS=
22#
23# sources to compile for each test:
24#
25SOURCES=*.cpp
26
27CFLAGS= $(INCLUDES) /Zm400 /GB /GF /Gy -GX -GR -I..\..\..\..\ $(CXXFLAGS) /DBOOST_LIB_DIAGNOSTIC=1 /Zc:wchar_t
28
29LFLAGS= -link /LIBPATH:..\..\..\..\stage\lib /LIBPATH:..\..\build\vc71 $(XLFLAGS)
30
31all :: r1-vc71.exe r2-vc71.exe r3-vc71.exe r4-vc71.exe r5-vc71.exe r6-vc71.exe r7-vc71.exe r8-vc71.exe
32	r1-vc71
33	r2-vc71
34	r3-vc71
35	r4-vc71
36	r5-vc71
37	r6-vc71
38	-copy ..\..\build\vc71\boost_regex*.dll
39	-copy ..\..\..\..\stage\lib\boost_regex*.dll
40	r7-vc71
41	r8-vc71
42
43r1-vc71.exe :
44	cl /ML $(CFLAGS) /O2 -o r1-vc71.exe $(SOURCES) $(LFLAGS)
45
46r2-vc71.exe :
47	cl /MLd $(CFLAGS) -o r2-vc71.exe $(SOURCES) $(LFLAGS)
48
49r3-vc71.exe :
50	cl /MT $(CFLAGS) /O2 -o r3-vc71.exe $(SOURCES) $(LFLAGS)
51
52r4-vc71.exe :
53	cl /MTd $(CFLAGS) -o r4-vc71.exe $(SOURCES) $(LFLAGS)
54
55r5-vc71.exe :
56	cl /MD $(CFLAGS) /O2 -o r5-vc71.exe $(SOURCES) $(LFLAGS)
57
58r6-vc71.exe :
59	cl /MDd $(CFLAGS) -o r6-vc71.exe $(SOURCES) $(LFLAGS)
60
61r7-vc71.exe :
62	cl /MD $(CFLAGS) /O2 /DBOOST_ALL_DYN_LINK -o r7-vc71.exe $(SOURCES) $(LFLAGS)
63
64r8-vc71.exe :
65	cl /MDd $(CFLAGS) /DBOOST_ALL_DYN_LINK -o r8-vc71.exe $(SOURCES) $(LFLAGS)
66
67
68
69