diff options
author | Pablo Santamaria <pablosantamaria@gmail.com> | 2010-05-13 00:57:19 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:57:19 +0200 |
commit | 0c54782ce2266847fb0b47d48eed56a0b5849034 (patch) | |
tree | 60d522aaaf9e248f669185dbaa2b5ce0baecfe9c /academic/lapack95/make.inc | |
parent | 255b61cfc9e6f4189c1afb7b2794d77c1b3394c4 (diff) |
academic/lapack95: Added to 13.0 repository
Diffstat (limited to 'academic/lapack95/make.inc')
-rw-r--r-- | academic/lapack95/make.inc | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/academic/lapack95/make.inc b/academic/lapack95/make.inc new file mode 100644 index 0000000000000..3a98a2fe407e8 --- /dev/null +++ b/academic/lapack95/make.inc @@ -0,0 +1,47 @@ +# +# -- LAPACK95 interface driver routine (version 2.0) -- +# UNI-C, Denmark; Univ. of Tennessee, USA; NAG Ltd., UK +# August 5, 2000 +# +FC = gfortran -ffree-form +FC1 = gfortran -ffixed-form +# -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 = +MODLIB = -I./../lapack95_modules +OPTS1 = -c $(OPTS0) +OPTS3 = $(OPTS1) $(MODLIB) +OPTL = -o +OPTLIB = + +LAPACK_PATH = @LIBDIR@ + +LAPACK95 = ../lapack95.a +LAPACK77 = $(LAPACK_PATH)/liblapack.a +TMG77 = $(LAPACK_PATH)/libtmglib.a +BLAS = $(LAPACK_PATH)/libblas.a + +LIBS = $(LAPACK95) $(TMG77) $(LAPACK77) $(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) $< |