Execute cmake . in the root of the project to generate the Makefile. You may need to install FFTW3 for CMake to complete.
To compile the code, run make.
To install the code for the entire system, run make install after running make.
To clean CMake installation files, you can use clean_cmake.sh.
Passing -DNO_QUADMATH=TRUE to cmake will prevent linkage to libquadmath.