freebsd-ports/math/scalapack/files/Makefile
Maho Nakata d767d0f025 Add scalapack 1.7, the ScaLAPACK Scalable LAPACK library.
PR:		40521
Submitted by:	NAKATA, Maho <maho@FreeBSD.org>
2003-05-05 03:33:39 +00:00

11 lines
439 B
Makefile

# 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