1####################################################################
2# LAPACK make include file. #
3####################################################################
7# CC is the C compiler, normally invoked with options CFLAGS.
12# Modify the FC and FFLAGS definitions to the desired compiler
13# and desired compiler options for your machine. NOOPT refers to
14# the compiler options desired when NO OPTIMIZATION is selected.
16# Note: During a regular execution, LAPACK might create NaN and Inf
17# and handle these quantities appropriately. As a consequence, one
18# should not compile LAPACK with flags such as -ffpe-trap=overflow.
21FFLAGS = -O2 -frecursive
23FFLAGS_NOOPT = -O0 -frecursive
25# Define LDFLAGS to the desired linker options for your machine.
29# The archiver and the flag(s) to use when building an archive
30# (library). If your system has no ranlib, set RANLIB = echo.
36# Timer for the SECOND and DSECND routines
38# Default: SECOND and DSECND will use a call to the
39# EXTERNAL FUNCTION ETIME
41# For RS6K: SECOND and DSECND will use a call to the
42# EXTERNAL FUNCTION ETIME_
44# For gfortran compiler: SECOND and DSECND will use a call to the
45# INTERNAL FUNCTION ETIME
47# If your Fortran compiler does not provide etime (like Nag Fortran
48# Compiler, etc...) SECOND and DSECND will use a call to the
49# INTERNAL FUNCTION CPU_TIME
51# If none of these work, you can use the NONE value.
52# In that case, SECOND and DSECND will always return 0.
55# Uncomment the following line to include deprecated routines in
58#BUILD_DEPRECATED = Yes
60# LAPACKE has the interface to some routines from tmglib.
61# If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
63#LAPACKE_WITH_TMG = Yes
65# Location of the extended-precision BLAS (XBLAS) Fortran library
66# used for building and testing extended-precision routines. The
67# relevant routines will be compiled and XBLAS will be linked only
68# if USEXBLAS is defined.
73# The location of the libraries to which you will link. (The
74# machine-specific, optimized BLAS library should be used whenever
77BLASLIB = $(TOPSRCDIR)/librefblas.a
78CBLASLIB = $(TOPSRCDIR)/libcblas.a
79LAPACKLIB = $(TOPSRCDIR)/liblapack.a
80TMGLIB = $(TOPSRCDIR)/libtmglib.a
81LAPACKELIB = $(TOPSRCDIR)/liblapacke.a
83# DOCUMENTATION DIRECTORY
84# If you generate html pages (make html), documentation will be placed in $(DOCSDIR)/explore-html
85# If you generate man pages (make man), documentation will be placed in $(DOCSDIR)/man
86DOCSDIR = $(TOPSRCDIR)/DOCS