File: make_Unix.inc

package info (click to toggle)
slicot 5.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,072 kB
  • sloc: fortran: 146,882; makefile: 932
file content (42 lines) | stat: -rw-r--r-- 1,465 bytes parent folder | download
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