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 36 37 38 39 40
|
AR = ar
ARFLAGS = cr
#If your system does not have ranlib, then replace next statement with
#RANLIB = echo
RANLIB = echo
CC = /afs/ncsa/packages/GNU/gcc-2.8.1/HPUX_10.20/bin/gcc
#CC = c89
CLD = $(CC)
F77 = fort77
F77LD = $(F77)
FFXN = -DNoChange
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 =
# Libraries for calls to handle command line arguments in FORTRAN
CMDDIR = -L/usr/lib
CMDLIB = -lU77
# 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 build only the C version. Use of the flag mentioned above yields an
# LCG that is about three times faster.
CFLAGS = -ansi -O2 -D$(PLAT) $(PMLCGDEF) $(MPIDEF)
CLDFLAGS = -O2
FFLAGS = -O2 $(PMLCGDEF) $(MPIDEF) -D$(PLAT)
F77LDFLAGS = -O2
CPP = fort77 -F
|