############################################################### # # Edit the following lines according to your implementation. # # The environment variable HOME_LORENE (root directory for the # Lorene implementation) must be have been already defined. # ############################################################### #===============================# # COMPILERS # #===============================# # C++ compiler: # ------------ CXX = g++ # Options for the C++ compiler to produce the optimized library: # ------------------------------------------------------------- CXXFLAGS = -Wall -Wconversion -Woverloaded-virtual -O2 -DNDEBUG -L /usr/lib -lblas -llapack -L /opt/local/lib -lfftw3 -lm -lstdc++ # Options for the C++ compiler to produce the library for debugging: # ----------------------------------------------------------------- CXXFLAGS_G = -Wall -Wconversion -Woverloaded-virtual -g -L /usr/lib -lblas -llapack -L /opt/local/lib -lfftw3 -lm -lstdc++ # Path for the include files: # -------------------------- INC = -I$(HOME_LORENE)/C++/Include -I/usr/local/include \ -I$(HOME_LORENE)/C++/Include_extra -I/opt/local/include # Converting archives to random libraries (if required, otherwise just ls) # ------------------------------------------------------------------------ RANLIB = ranlib # Fortran 77 compiler: # ------------------- #F77 = g77 F77 = gfortran # Options for the Fortran 77 compiler to produce the optimized library: # --------------------------------------------------------------------- F77FLAGS = -Wall -O2 -ffixed-form -ffixed-line-length-none # Options for the Fortran 77 compiler to produce the library for debugging: # ------------------------------------------------------------------------ F77FLAGS_G = -Wall -g -ffixed-form -ffixed-line-length-none #===============================# # MAKEDEPEND # #===============================# # First line uses the C precompiler (usually called cpp) # if yours does not support the -M option try to figure out # how to output dependencies file, or use makedepend (2nd line) #-------------------------------------------------------------- MAKEDEPEND = g++ $(INC) -M >> $(df).d $< #MAKEDEPEND = touch $(df).d && makedepend $(INC) -f $(df).d $< DEPDIR = .deps #===============================# # SYSTEM LIBRARIES # #===============================# # FFT library : FFT991 in Fortran coming with Lorene # FFTW3 library (must be installed separately) # --------------------------------------------------------------- #FFT_DIR = FFT991 FFT_DIR = FFTW3 # C, C++ library, mathematical library and Fortran library # --------------------------------------------------------- #LIB_CXX = -L/usr/lib -L/usr/lib/gcc/darwin/3.1 -L/opt/local/lib -lg2c -lstdc++ -lm LIB_CXX = -L/usr/lib -L/opt/local/lib/gcc8/gcc/x86_64-apple-darwin18/8.3.0/ -L/usr/lib -lblas -llapack -L/opt/local/lib -lgfortran -lstdc++ -lfftw3 -lm # Linear Algebra Package (LAPACK) library # --------------------------------------- LIB_LAPACK = -L/opt/local/lib/lapack -llapack # Graphical libraries: PGPLOT and X11 # ----------------------------------- LIB_PGPLOT = -L/usr/X11/lib -L/opt/local/lib -lcpgplot -lpgplot -lpng -lX11 # GNU scientific library # ----------------------------------- LIB_GSL = -lgsl