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++ 6 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 /GF /Gy -GX -GR -I..\..\..\..\ /DBOOST_LIB_DIAGNOSTIC=1 $(CXXFLAGS) 28 29LFLAGS= -link /LIBPATH:..\..\..\..\stage\lib /LIBPATH:..\..\build\vc6 user32.lib $(XLFLAGS) 30 31all :: r1-vc6.exe r2-vc6.exe r3-vc6.exe r4-vc6.exe r5-vc6.exe r6-vc6.exe r7-vc6.exe r8-vc6.exe 32 r1-vc6 33 r2-vc6 34 r3-vc6 35 r4-vc6 36 r5-vc6 37 r6-vc6 38 -copy ..\..\build\vc6\boost_regex*.dll 39 -copy ..\..\..\..\stage\lib\boost_regex*.dll 40 r7-vc6 41 r8-vc6 42 43r1-vc6.exe : 44 cl /ML $(CFLAGS) /O2 -o r1-vc6.exe $(SOURCES) $(LFLAGS) 45 46r2-vc6.exe : 47 cl /MLd $(CFLAGS) -o r2-vc6.exe $(SOURCES) $(LFLAGS) 48 49r3-vc6.exe : 50 cl /MT $(CFLAGS) /O2 -o r3-vc6.exe $(SOURCES) $(LFLAGS) 51 52r4-vc6.exe : 53 cl /MTd $(CFLAGS) -o r4-vc6.exe $(SOURCES) $(LFLAGS) 54 55r5-vc6.exe : 56 cl /MD $(CFLAGS) /O2 -o r5-vc6.exe $(SOURCES) $(LFLAGS) 57 58r6-vc6.exe : 59 cl /MDd $(CFLAGS) -o r6-vc6.exe $(SOURCES) $(LFLAGS) 60 61r7-vc6.exe : 62 cl /MD $(CFLAGS) /O2 /DBOOST_ALL_DYN_LINK -o r7-vc6.exe $(SOURCES) $(LFLAGS) 63 64r8-vc6.exe : 65 cl /MDd $(CFLAGS) /DBOOST_ALL_DYN_LINK -o r8-vc6.exe $(SOURCES) $(LFLAGS) 66 67 68 69