summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2019-01-26 23:19:38 +0100
committerRoland Stigge <stigge@antcom.de>2019-01-26 23:19:38 +0100
commitdb0d20a6c322211593fecf209898f2435468e813 (patch)
tree5cf1bbe9f9112cb1e6e5a3b31e2222aa3ba3b638 /Makefile
parent9e238820cb4df45219cf122206aa0ae153e81c60 (diff)
Improved Cooley-Tukey
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7b3a78f..8a88b0c 100644
--- a/Makefile
+++ b/Makefile
@@ -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: