summaryrefslogtreecommitdiff
path: root/academic/lapack95/make.inc
diff options
context:
space:
mode:
authorPablo Santamaria <pablosantamaria@gmail.com>2010-05-13 00:57:19 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:57:19 +0200
commit0c54782ce2266847fb0b47d48eed56a0b5849034 (patch)
tree60d522aaaf9e248f669185dbaa2b5ce0baecfe9c /academic/lapack95/make.inc
parent255b61cfc9e6f4189c1afb7b2794d77c1b3394c4 (diff)
downloadslackbuilds-0c54782ce2266847fb0b47d48eed56a0b5849034.tar.gz
academic/lapack95: Added to 13.0 repository
Diffstat (limited to 'academic/lapack95/make.inc')
-rw-r--r--academic/lapack95/make.inc47
1 files changed, 47 insertions, 0 deletions
diff --git a/academic/lapack95/make.inc b/academic/lapack95/make.inc
new file mode 100644
index 0000000000..3a98a2fe40
--- /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) $<