LAPACK  3.5.0
LAPACK: Linear Algebra PACKage
 All Files Functions Typedefs Macros
make.inc.example
Go to the documentation of this file.
1 ####################################################################
2 # LAPACK make include file. #
3 # LAPACK, Version 3.5.0 #
4 # November 2013 #
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 and
13 # desired load options for your machine.
14 #
15 FORTRAN = gfortran
16 OPTS = -O2 -frecursive
17 DRVOPTS = $(OPTS)
18 NOOPT = -O0 -frecursive
19 LOADER = gfortran
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 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 = -O3
47 #
48 # The archiver and the flag(s) to use when building archive (library)
49 # If you system has no ranlib, set RANLIB = echo.
50 #
51 ARCH = ar
52 ARCHFLAGS= cr
53 RANLIB = ranlib
54 #
55 # Location of the extended-precision BLAS (XBLAS) Fortran library
56 # used for building and testing extended-precision routines. The
57 # relevant routines will be compiled and XBLAS will be linked only if
58 # USEXBLAS is defined.
59 #
60 # USEXBLAS = Yes
61 XBLASLIB =
62 # XBLASLIB = -lxblas
63 #
64 # The location of the libraries to which you will link. (The
65 # machine-specific, optimized BLAS library should be used whenever
66 # possible.)
67 #
68 BLASLIB = ../../librefblas.a
69 LAPACKLIB = liblapack.a
70 TMGLIB = libtmglib.a
71 LAPACKELIB = liblapacke.a