| 1 |
#################################################################### |
| 2 |
# LAPACK make include file. # |
| 3 |
# LAPACK, Version 3.4.1 # |
| 4 |
# April 2012 # |
| 5 |
#################################################################### |
| 6 |
# |
| 7 |
SHELL = /bin/sh |
| 8 |
# |
| 9 |
# Modify the FORTRAN and OPTS definitions to refer to the |
| 10 |
# compiler and desired compiler options for your machine. NOOPT |
| 11 |
# refers to the compiler options desired when NO OPTIMIZATION is |
| 12 |
# selected. Define LOADER and LOADOPTS to refer to the loader |
| 13 |
# and desired load options for your machine. |
| 14 |
# |
| 15 |
FORTRAN = gfortran -fimplicit-none -g |
| 16 |
OPTS = |
| 17 |
DRVOPTS = $(OPTS) |
| 18 |
NOOPT = -g -O0 |
| 19 |
LOADER = gfortran -g |
| 20 |
LOADOPTS = |
| 21 |
# |
| 22 |
# Timer for the SECOND and DSECND routines |
| 23 |
# |
| 24 |
# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME |
| 25 |
# TIMER = EXT_ETIME |
| 26 |
# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_ |
| 27 |
# TIMER = EXT_ETIME_ |
| 28 |
# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME |
| 29 |
# TIMER = INT_ETIME |
| 30 |
# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...) |
| 31 |
# SECOND and DSECND will use a call to the Fortran standard INTERNAL FUNCTION CPU_TIME |
| 32 |
TIMER = INT_CPU_TIME |
| 33 |
# If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0 |
| 34 |
# TIMER = NONE |
| 35 |
# |
| 36 |
# Configuration LAPACKE: Native C interface to LAPACK |
| 37 |
# To generate LAPACKE library: type 'make lapackelib' |
| 38 |
# Configuration file: turned off (default) |
| 39 |
# Complex types: C99 (default) |
| 40 |
# Name pattern: mixed case (default) |
| 41 |
# (64-bit) Data model: LP64 (default) |
| 42 |
# |
| 43 |
# CC is the C compiler, normally invoked with options CFLAGS. |
| 44 |
# |
| 45 |
CC = gcc |
| 46 |
CFLAGS = -g |
| 47 |
# |
| 48 |
# LAPACKE has also the interface to some routines from tmglib, |
| 49 |
# if LAPACKE_WITH_TMG is selected, we need to add those routines to LAPACKE |
| 50 |
#LAPACKE_WITH_TMG = Yes |
| 51 |
# |
| 52 |
# The archiver and the flag(s) to use when building archive (library) |
| 53 |
# If you system has no ranlib, set RANLIB = echo. |
| 54 |
# |
| 55 |
ARCH = ar |
| 56 |
ARCHFLAGS= cr |
| 57 |
RANLIB = ranlib |
| 58 |
# |
| 59 |
# Location of the extended-precision BLAS (XBLAS) Fortran library |
| 60 |
# used for building and testing extended-precision routines. The |
| 61 |
# relevant routines will be compiled and XBLAS will be linked only if |
| 62 |
# USEXBLAS is defined. |
| 63 |
# |
| 64 |
# USEXBLAS = Yes |
| 65 |
XBLASLIB = |
| 66 |
# XBLASLIB = -lxblas |
| 67 |
# |
| 68 |
# The location of the libraries to which you will link. (The |
| 69 |
# machine-specific, optimized BLAS library should be used whenever |
| 70 |
# possible.) |
| 71 |
# |
| 72 |
BLASLIB = ../../librefblas.a |
| 73 |
LAPACKLIB = liblapack.a |
| 74 |
TMGLIB = libtmglib.a |
| 75 |
LAPACKELIB = liblapacke.a |