# @configure_input@ # compilation rules .SUFFIXES : .SUFFIXES : .o .c .f .f90 .f90.o: @f90rule@ .f.o: $(F77) $(FFLAGS) -c $< .c.o: $(CC) $(CFLAGS) -c $< @SET_MAKE@ CC = @cc@ CFLAGS = @cflags@ $(DFLAGS) $(IFLAGS) CPP = @cpp@ CPPFLAGS = @cppflags@ $(DFLAGS) $(IFLAGS) F77 = @f77@ F90 = @f90@ FFLAGS = @fflags@ F90FLAGS = @f90flags@ @pre_fdflags@$(FDFLAGS) $(IFLAGS) $(MODFLAGS) FFLAGS_NOOPT = @fflags_noopt@ F90FLAGS_NOOPT = @f90flags_noopt@ @pre_fdflags@$(FDFLAGS) $(IFLAGS) $(MODFLAGS) LD = @ld@ LDFLAGS = @ldflags@ $(LIBS) AR = @ar@ ARFLAGS = @arflags@ RANLIB = @ranlib@ BLAS_LIBS = @blas_libs@ LAPACK_LIBS = @lapack_libs@ FFT_LIBS = @fft_libs@ MPI_LIBS = @mpi_libs@ MASS_LIBS = @mass_libs@ # ----------------------------- # application-specific settings # See include/defs.h.README for a list of precompilation options # (possible arguments to -D or -U) and their meaning DFLAGS = @dflags@ FDFLAGS = @fdflags@ IFLAGS = -I../include @ifftw@ MODFLAGS = @imod@. @imod@../Modules @imod@../PW @imod@../PH @imod@../iotk/src LIBOBJS = ../flib/ptools.a ../flib/flib.a ../clib/clib.a ../iotk/src/libiotk.a # LIBS must contain the location of all needed external libraries LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FFT_LIBS) $(MPI_LIBS) $(MASS_LIBS) # MYLIB can be one of the following (depending on LIBS): # blas : compile the local copy of blas routines # lapack : compile the local copy of lapack routines # blas_and_lapack : all of the above - use this for a quick test # or if you don't have an optimized blas/lapack library # lapack_ibm : compile only lapack routines not present in IBM ESSL # use this together with IBM ESSL # lapack_t3e : compile only lapack routines not present in T3E scilib # use this together with T3E scilib # lapack_mkl : compile only lapack routines not present in Intel MKL # use this together with Intel MKL MYLIB = @mylib@