tahoma2d/thirdparty/superlu/SuperLU_4.1/MAKE_INC/make.linux

66 lines
1.5 KiB
Text
Raw Normal View History

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