1#============================================================================= 2# Copyright (c) 2008 Dan Marsden 3# 4# Use modification and distribution are subject to the Boost Software 5# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6# http://www.boost.org/LICENSE_1_0.txt). 7#============================================================================== 8 9CXX=g++ 10CXXFLAGS=-I$(BOOST_ROOT) 11 12TEST_SRCS=\ 13 vector_construction.cpp\ 14 vector_iteration.cpp\ 15 vector_intrinsic.cpp\ 16 fold.cpp\ 17 transform.cpp 18 19TEST_OBJS=$(TEST_SRCS:.cpp=.o) 20 21TEST_TARGETS=$(TEST_SRCS:.cpp=.test) 22 23all: $(TEST_TARGETS) 24 25%.test : %.cpp 26 time $(CXX) $(CXXFLAGS) $< -o $@ 27 28clean: 29 rm -f $(TEST_TARGETS) $(TEST_OBJS) 30