Blame docker-builder-data/build/script/packet/superlu-5.2.1.files/make.inc

6675b2
############################################################################
6675b2
#
6675b2
#  Program:         SuperLU
6675b2
#
6675b2
#  Module:          make.inc
6675b2
#
6675b2
#  Purpose:         Top-level Definitions
6675b2
#
6675b2
#  Creation date:   October 2, 1995
6675b2
#
6675b2
#  Modified:	    February 4, 1997  Version 1.0
6675b2
#		    November 15, 1997 Version 1.1
6675b2
#		    September 1, 1999 Version 2.0
6675b2
#
6675b2
############################################################################
6675b2
#
6675b2
#  The machine (platform) identifier to append to the library names
6675b2
#
6675b2
PLAT = _linux
6675b2
6675b2
#
6675b2
#  The name of the libraries to be created/linked to
6675b2
#
6675b2
SuperLUroot	= $(HOME)/SuperLU_5.2.1
6675b2
SUPERLULIB   	= $(SuperLUroot)/lib/libsuperlu_5.2.1.a
6675b2
6675b2
#BLASLIB   	= $(SuperLUroot)/lib/libblas.a
6675b2
6675b2
## ATLAS BLAS causes single-precision to fail
6675b2
BLASDEF = -DUSE_VENDOR_BLAS
6675b2
BLASLIB   	= $(LDFLAGS) -lblas -lgfortran
6675b2
6675b2
## This BLAS causes single-precision to fail the test in SuperLU
6675b2
#BLASDEF 	= -DUSE_VENDOR_BLAS
6675b2
#BLASLIB 	= -L/usr/lib -lblas
6675b2
6675b2
TMGLIB       	= libtmglib.a
6675b2
LIBS		= $(SUPERLULIB) $(BLASLIB)
6675b2
6675b2
#
6675b2
#  The archiver and the flag(s) to use when building archive (library)
6675b2
#  If your system has no ranlib, set RANLIB = echo.
6675b2
#
6675b2
ARCH         = ar
6675b2
ARCHFLAGS    = cr
6675b2
RANLIB       = ranlib
6675b2
6675b2
CC           = gcc
6675b2
CFLAGS       = -O3 -fPIC
6675b2
NOOPTS       = -fPIC
6675b2
FORTRAN	     = gfortran
6675b2
FFLAGS       = -O2 -fPIC
6675b2
LOADER       = $(CC)
6675b2
LOADOPTS     =
6675b2
6675b2
#
6675b2
#  C preprocessor defs for compilation for the Fortran interface
6675b2
#  (-DNoChange, -DAdd_, -DAdd__, or -DUpCase)
6675b2
#
6675b2
CDEFS        = -DAdd_
6675b2
#
6675b2
# The directory in which Matlab is installed
6675b2
#
6675b2
MATLAB	     = /usr/sww/matlab
6675b2