summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2025-04-17 17:45:26 -0300
committerJaron Kent-Dobias <jaron@kent-dobias.com>2025-04-17 17:45:26 -0300
commit7bd8f97aea0545c3d0da438cde3fd3d7ba4083b4 (patch)
treeaff1be03708d1a4e7461b3ff900488f74f45aab9 /Makefile
parentfc7d01ebfb5682df2fbbd6c668cce1569e0d9df5 (diff)
downloadcode-7bd8f97aea0545c3d0da438cde3fd3d7ba4083b4.tar.gz
code-7bd8f97aea0545c3d0da438cde3fd3d7ba4083b4.tar.bz2
code-7bd8f97aea0545c3d0da438cde3fd3d7ba4083b4.zip
Started implementing log-Fourier method, not working right now.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 688a99c..ad67e7e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-all: walk correlations integrator fourier_integrator get_energy
+all: walk correlations integrator fourier_integrator get_energy log-fourier_integrator
CC := clang++ -std=c++17 -flto -Wno-mathematical-notation-identifier-extension -O3 -march=native -mtune=native -fopenmp -DFFTW_THREADS=1
@@ -9,13 +9,16 @@ correlations: correlations.cpp
$(CC) correlations.cpp -o correlations
integrator: integrator.cpp fourier.o fourier.hpp
- $(CC) integrator.cpp fourier.o -lfftw3 -lfftw3_omp -o integrator
+ $(CC) integrator.cpp fourier.o -lfftw3 -lgsl -o integrator
fourier.o: fourier.cpp fourier.hpp
$(CC) fourier.cpp -c -o fourier.o
fourier_integrator: fourier_integrator.cpp fourier.hpp fourier.o
- $(CC) fourier_integrator.cpp fourier.o -lfftw3 -lfftw3_omp -o fourier_integrator
+ $(CC) fourier_integrator.cpp fourier.o -lfftw3 -lgsl -o fourier_integrator
+
+log-fourier_integrator: log-fourier_integrator.cpp fourier.hpp fourier.o
+ $(CC) log-fourier_integrator.cpp fourier.o -lfftw3 -lgsl -o log-fourier_integrator
get_energy: get_energy.cpp fourier.hpp fourier.o
- $(CC) get_energy.cpp fourier.o -lfftw3 -lfftw3_omp -o get_energy
+ $(CC) get_energy.cpp fourier.o -lfftw3 -lgsl -o get_energy