Makefile 725 B

1234567891011121314151617181920212223242526272829
  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. CXX=g++
  9. CXXFLAGS=-I$(BOOST_ROOT)
  10. TEST_SRCS=\
  11. vector_construction.cpp\
  12. vector_iteration.cpp\
  13. vector_intrinsic.cpp\
  14. fold.cpp\
  15. transform.cpp
  16. TEST_OBJS=$(TEST_SRCS:.cpp=.o)
  17. TEST_TARGETS=$(TEST_SRCS:.cpp=.test)
  18. all: $(TEST_TARGETS)
  19. %.test : %.cpp
  20. time $(CXX) $(CXXFLAGS) $< -o $@
  21. clean:
  22. rm -f $(TEST_TARGETS) $(TEST_OBJS)