diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -1,6 +1,6 @@ -all: walk correlations integrator +all: walk correlations integrator fourier_integrator get_energy -CC := clang++ -std=c++17 -Wno-mathematical-notation-identifier-extension -O3 -march=native -mtune=native -fopenmp -g +CC := clang++ -std=c++17 -flto -Wno-mathematical-notation-identifier-extension -O3 -march=native -mtune=native -fopenmp walk: walk.cpp $(CC) walk.cpp -o walk @@ -10,3 +10,12 @@ correlations: correlations.cpp integrator: integrator.cpp $(CC) integrator.cpp -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 -o fourier_integrator + +get_energy: get_energy.cpp fourier.hpp fourier.o + $(CC) get_energy.cpp fourier.o -lfftw3 -o get_energy |