1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
AR = ar
ARFLAGS = cr
#If your system does not have ranlib, then replace next statement with
#RANLIB = echo
RANLIB = ranlib
CC = gcc
CLD = $(CC)
F77 = f77
F77LD = $(F77)
FFXN = -DAdd_
FSUFFIX = F
MPIF77 = $(F77)
MPICC = $(CC)
# To use MPI, set the MPIDIR to location of mpi library, and MPILIB
# to name of mpi library. Remove # signs from beginning of next 3 lines.
# Also, if the previous compilation was without MPI, type: make realclean
# before compiling for mpi.
#
MPIDIR =
MPILIB =
# If only the C call is required, then you can use the addition flag
# -D_LONG_LONG. Fortran programs will not link then. Set F77 to echo to
# compile the C version alone. This may run three times faster.
CFLAGS = -O $(PMLCGDEF) $(MPIDEF) -D$(PLAT)
CLDFLAGS = -O
FFLAGS = -fast -O3 $(PMLCGDEF) $(MPIDEF) -D$(PLAT)
F77LDFLAGS = -fast -O3
CPP = f77 -F
|