1 ####################################################################
2 # LAPACK make include file. #
3 # LAPACK, Version 3.7.1 #
5 ####################################################################
9 # CC is the C compiler, normally invoked with options CFLAGS.
14 # Modify the FORTRAN and OPTS definitions to refer to the compiler
15 # and desired compiler options for your machine. NOOPT refers to
16 # the compiler options desired when NO OPTIMIZATION is selected.
18 # Note: During a regular execution, LAPACK might create NaN and Inf
19 # and handle these quantities appropriately. As a consequence, one
20 # should not compile LAPACK with flags such as -ffpe-trap=overflow.
23 OPTS = -O2 -frecursive
25 NOOPT = -O0 -frecursive
27 # Define LOADER and LOADOPTS to refer to the loader and desired
28 # load options for your machine.
33 # The archiver and the flag(s) to use when building an archive
34 # (library). If your system has no ranlib, set RANLIB = echo.
40 # Timer for the SECOND and DSECND routines
42 # Default: SECOND and DSECND will use a call to the
43 # EXTERNAL FUNCTION ETIME
45 # For RS6K: SECOND and DSECND will use a call to the
46 # EXTERNAL FUNCTION ETIME_
48 # For gfortran compiler: SECOND and DSECND will use a call to the
49 # INTERNAL FUNCTION ETIME
51 # If your Fortran compiler does not provide etime (like Nag Fortran
52 # Compiler, etc...) SECOND and DSECND will use a call to the
53 # INTERNAL FUNCTION CPU_TIME
55 # If none of these work, you can use the NONE value.
56 # In that case, SECOND and DSECND will always return 0.
59 # Uncomment the following line to include deprecated routines in
62 #BUILD_DEPRECATED = Yes
64 # LAPACKE has the interface to some routines from tmglib.
65 # If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
67 #LAPACKE_WITH_TMG = Yes
69 # Location of the extended-precision BLAS (XBLAS) Fortran library
70 # used for building and testing extended-precision routines. The
71 # relevant routines will be compiled and XBLAS will be linked only
72 # if USEXBLAS is defined.
77 # The location of the libraries to which you will link. (The
78 # machine-specific, optimized BLAS library should be used whenever
81 BLASLIB = ../../librefblas.a
82 CBLASLIB = ../../libcblas.a
83 LAPACKLIB = liblapack.a
85 LAPACKELIB = liblapacke.a