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
7# make sure BOOST_ROOT is pointing to your boost directory
8# otherwise, set it here:
9# BOOST_ROOT = /path/to/boost
10# you also need NT2s SIMD libary available set the include path here:
11# SIMD_INCLUDE = /path/to/simd/include
12
13INCLUDES = -I$(BOOST_ROOT) -I${SIMD_INCLUDE}
14
15# INTEL COMPILER
16# change this if you want to cross-compile
17ARCH = Host
18# ARCH = AVX
19# ARCH = SSE4.2
20
21CXX = icpc
22CC = icpc
23CXXFLAGS = -O3 -x${ARCH} -std=c++0x -fno-alias -inline-forceinline -DNDEBUG ${INCLUDES}
24# -ip
25
26# GCC COMPILER
27# change this if you want to cross-compile
28# ARCH = native
29# # ARCH = core-avx-i
30
31# CXX = g++
32# CC = g++
33# CXXFLAGS = -O3 -ffast-math -mtune=${ARCH} -march=${ARCH} -std=c++0x -DNDEBUG ${INCLUDES}
34