-
Notifications
You must be signed in to change notification settings - Fork 22
/
make_Unix.inc
42 lines (37 loc) · 1.43 KB
/
make_Unix.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
####################################################################
# SLICOT make include file for Unix-like machines. #
# SLICOT, Release v5.9 slicot/make.inc #
# Vasile Sima #
# October 31, 1996. #
# Revised Dec. 7, 1999; July 16, 2015, Dec. 28, 2022, Feb. 2023. #
# Feb. 2024. #
####################################################################
SHELL = /bin/sh
# Modify the FORTRAN and OPTS definitions to the desired compiler
# and desired compiler options for your machine. NOOPT refers to
# the compiler options desired when NO OPTIMIZATION is selected.
#
FORTRAN = gfortran
OPTS = -O2 -fPIC -fdefault-integer-8
OPTS_NOOPT = -O0
# Define LDFLAGS to the desired linker options for your machine.
#
LOADER = $(FORTRAN)
LDFLAGS =
# The archiver and the flag(s) to use when building an archive
# (library). If your system has no ranlib, set RANLIB = echo.
#
ARCH = ar
ARCHFLAGS = cr
# ARCHFLAGS= r
# RANLIB = ranlib
LOADOPTS = $(SLICOTLIB) $(LPKAUXLIB) $(LAPACKLIB) $(BLASLIB)
#
# The location of the libraries to which you will link. (The
# machine-specific, optimized BLAS library should be used whenever
# possible.)
#
BLASLIB = ../libs/blas.a
LAPACKLIB = ../libs/lapack.a
LPKAUXLIB = ../lpkaux.a
SLICOTLIB = ../slicot.a