summaryrefslogtreecommitdiff
path: root/math/scalapack/files/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/scalapack/files/Makefile')
-rw-r--r--math/scalapack/files/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/scalapack/files/Makefile b/math/scalapack/files/Makefile
new file mode 100644
index 000000000000..b8acf5217911
--- /dev/null
+++ b/math/scalapack/files/Makefile
@@ -0,0 +1,11 @@
+# Makefile of Sample program
+# Written by NAKATA, Maho <maho@FreeBSD.org>
+# $FreeBSD$
+
+all: densg densg2
+
+densg: example1.f # f77 version
+ mpif77 -o densg example1.f -L/usr/local/lib -lscalapack -lblacs -lblacsf77 -lblacs -lf77blas -latlas
+
+densg2: example1.cc # C++ version
+ mpiCC -o densg2 example1.cc -I/usr/local/mpich/include -I/usr/local/include -L/usr/local/lib -lscalapack -lblacs -lblacsf77 -lblacs -lf77blas -latlas -lg2c -lm