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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
#===============================================================================
# basiclu build configuration
#===============================================================================
# The file has been copied and adapted from SuiteSparse_config.mk contained
# in SuiteSparse version 4.5.3 and available from http://www.suitesparse.com.
# As with the original file, no licensing restrictions apply to this file.
BASICLU_VERSION =
#===============================================================================
# Defaults for any system
#===============================================================================
#---------------------------------------------------------------------------
# basiclu root directory
#---------------------------------------------------------------------------
BASICLUROOT =
#---------------------------------------------------------------------------
# optimization level
#---------------------------------------------------------------------------
OPTIMIZATION ?=
#---------------------------------------------------------------------------
# compiler flags for the C compiler
#---------------------------------------------------------------------------
# If the system does not support clock_gettime() with CLOCK_MONOTONIC_RAW,
# then turn off the timer completely. In this case the statistics reported
# by basiclu do not contain timings. The results are not affected.
# CPPFLAGS += -DBASICLU_NOTIMER
# The CF macro is used as a combination of
# CFLAGS, CPPFLAGS, TARGET_ARCH, and system-dependent settings.
CF =
#---------------------------------------------------------------------------
# compiler
#---------------------------------------------------------------------------
# basiclu is written in the C99 standard. The CC99 macro is used to invoke a
# standard conformant compiler. The default assumes that the system provides
# the c99 command.
CC99 ?=
#CC99 ?= gcc -std=c99
#---------------------------------------------------------------------------
# required libraries
#---------------------------------------------------------------------------
# basiclu requires the -lm (Math) libraries.
LDLIBS =
#---------------------------------------------------------------------------
# shell commands
#---------------------------------------------------------------------------
# ranlib, and ar, for generating libraries. If you don't need ranlib,
# just change it to RANLIB = echo
RANLIB =
ARCHIVE =
#===============================================================================
# System-dependent configurations
#===============================================================================
#---------------------------------------------------------------------------
# determine what system we are on
#---------------------------------------------------------------------------
# To disable these auto configurations, use 'make UNAME=custom'
# Cygwin Make on Windows has an $(OS) variable, but not uname.
# Note that this option is untested.
UNAME =
else
# Linux and Darwin (Mac OSX) have been tested.
UNAME :=
endif
endif
#===============================================================================
# Building the shared and static libraries
#===============================================================================
LIBRARY =
VERSION =
SO_VERSION =
# Cygwin / Mingw Make on Windows
AR_TARGET =
SO_PLAIN =
SO_MAIN =
SO_TARGET =
SO_OPTS =
SO_INSTALL_NAME =
else
# Mac or Linux/Unix
AR_TARGET =
# Mac
SO_PLAIN =
SO_MAIN =
SO_TARGET =
SO_OPTS =
# When a Mac *.dylib file is moved, this command is required
# to change its internal name to match its location in the filesystem:
SO_INSTALL_NAME =
else
# Linux and other variants of Unix
SO_PLAIN =
SO_MAIN =
SO_TARGET =
SO_OPTS =
# Linux/Unix *.so files can be moved without modification:
SO_INSTALL_NAME =
endif
endif