diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,9 +1,16 @@ -CXX=clang++-7 +CXX=clang++-7 -stdlib=libc++ +CXXFLAGS=-stdlib=libc++ -Wall -O2 -std=c++17 +#-march=native -mtune=native # is not better for llvm + +# libstdc++-8 doesn't have transform_reduce +#CXX=g++-8 +#CXXFLAGS=-Wall -O2 -std=c++17 -nostdinc++ -I/usr/lib/llvm-7/include/c++/v1 -nodefaultlibs -lc++ -lc++abi -lm -lc -lgcc_s -lgcc +# -march=native -mtune=native # doesn't help for gcc all: fft fft: fft.cpp - $(CXX) -Wall -O2 -std=c++17 -o $@ $^ + $(CXX) $(CXXFLAGS) -o $@ $^ install: |