Makefile 888 B

123456789101112131415161718192021222324252627282930313233
  1. # Copyright 2014 Mario Mulansky
  2. #
  3. # Distributed under the Boost Software License, Version 1.0.
  4. # (See accompanying file LICENSE_1_0.txt or
  5. # copy at http://www.boost.org/LICENSE_1_0.txt)
  6. # make sure BOOST_ROOT is pointing to your boost directory
  7. # otherwise, set it here:
  8. # BOOST_ROOT = /path/to/boost
  9. # you also need NT2s SIMD libary available set the include path here:
  10. # SIMD_INCLUDE = /path/to/simd/include
  11. INCLUDES = -I$(BOOST_ROOT) -I${SIMD_INCLUDE}
  12. # INTEL COMPILER
  13. # change this if you want to cross-compile
  14. ARCH = Host
  15. # ARCH = AVX
  16. # ARCH = SSE4.2
  17. CXX = icpc
  18. CC = icpc
  19. CXXFLAGS = -O3 -x${ARCH} -std=c++0x -fno-alias -inline-forceinline -DNDEBUG ${INCLUDES}
  20. # -ip
  21. # GCC COMPILER
  22. # change this if you want to cross-compile
  23. # ARCH = native
  24. # # ARCH = core-avx-i
  25. # CXX = g++
  26. # CC = g++
  27. # CXXFLAGS = -O3 -ffast-math -mtune=${ARCH} -march=${ARCH} -std=c++0x -DNDEBUG ${INCLUDES}