#
# -- LAPACK95 interface driver routine (version 2.0) --
# UNI-C, Denmark; Univ. of Tennessee, USA; NAG Ltd., UK
# August 5, 2000
#
FC = gfortran42
FC1 = gfortran42
# -dcfuns Enable recognition of non-standard double
# precision complex intrinsic functions
# -dusty Allows the compilation and execution of "legacy"
# software by downgrading the category of common
# errors found in such software from "Error" to
# -ieee=full enables all IEEE arithmetic facilities
# including non-stop arithmetic.
OPTS0 = -fpic #-u -V -dcfuns -dusty -ieee=full
MODLIB = -I./../lapack95_modules -I/usr/local/lib/lapack95_modules
OPTS1 = -c $(OPTS0)
OPTS3 = $(OPTS1) $(MODLIB)
OPTL = -o
OPTLIB =
LAPACK_PATH = -L/usr/local/lib -L/usr/local/lib
LAPACK95 = -llapack95
LAPACK77 = -llapack
TMG77 = -ltmglib
BLAS = -lblas
LIBS = $(LAPACK_PATH) $(LAPACK95) $(LAPACK77) $(TMG77) $(BLAS)
SUF = f90
XX = 'rm' -f $@; \
'rm' -f $@.res; \
$(FC) $(OPTS0) -o $@ $(MODLIB) $@.$(SUF) $(OPTLIB) $(LIBS); \
./$@ < $@.dat > $@.res; \
'rm' -f $@
YY = $(FC) $(OPTS0) -o $@ $(MODLIB) $@.$(SUF) $(OPTLIB) $(LIBS)
.SUFFIXES: .f90 .f .o
.$(SUF).o:
$(FC) $(OPTS3) $<
.f.o:
$(FC1) $(OPTS3) $<
syntax highlighted by Code2HTML, v. 0.9.1