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