1############################################################################
2#
3#  Program:         SuperLU
4#
5#  Module:          make.inc
6#
7#  Purpose:         Top-level Definitions
8#
9#  Creation date:   October 2, 1995
10#
11#  Modified:	    February 4, 1997  Version 1.0
12#		    November 15, 1997 Version 1.1
13#		    September 1, 1999 Version 2.0
14#
15############################################################################
16#
17#  The machine (platform) identifier to append to the library names
18#
19PLAT = _linux
20
21#
22#  The name of the libraries to be created/linked to
23#
24SuperLUroot	= $(HOME)/Codes/SuperLU_4.1
25SUPERLULIB   	= $(SuperLUroot)/lib/libsuperlu_4.1.a
26
27#BLASLIB   	= $(SuperLUroot)/lib/libblas.a
28
29## ATLAS BLAS causes single-precision to fail
30#BLASDEF = -DUSE_VENDOR_BLAS
31#BLASLIB   	= -L/usr/lib/atlas -lblas
32
33## This BLAS causes single-precision to fail the test in SuperLU
34BLASDEF 	= -DUSE_VENDOR_BLAS
35BLASLIB 	= -L/usr/lib -lblas
36
37TMGLIB       	= libtmglib.a
38LIBS		= $(SUPERLULIB) $(BLASLIB)
39
40#
41#  The archiver and the flag(s) to use when building archive (library)
42#  If your system has no ranlib, set RANLIB = echo.
43#
44ARCH         = ar
45ARCHFLAGS    = cr
46RANLIB       = ranlib
47
48CC           = gcc
49CFLAGS       = -O3
50NOOPTS       =
51FORTRAN	     = g77
52FFLAGS       = -O2
53LOADER       = $(FORTRAN)
54LOADOPTS     =
55
56#
57#  C preprocessor defs for compilation for the Fortran interface
58#  (-DNoChange, -DAdd_, -DAdd__, or -DUpCase)
59#
60CDEFS        = -DAdd_
61#
62# The directory in which Matlab is installed
63#
64MATLAB	     = /usr/sww/matlab
65
66