forked from xiaoyeli/superlu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make.inc.in
54 lines (46 loc) · 1.25 KB
/
make.inc.in
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
############################################################################
#
# Program: SuperLU
#
# Module: make.inc
#
# Purpose: Top-level Definitions
#
# Creation date: May 10, 2015
#
# Modified:
#
#
############################################################################
#
# The name of the libraries to be created/linked to
#
# SuperLUroot = ${CMAKE_SOURCE_DIR}/build
#
SuperLUroot = ${CMAKE_INSTALL_PREFIX}
SUPERLULIB = $(SuperLUroot)/SRC/${PROJECT_NAME_LIB_EXPORT}
#TMGLIB = libtmglib.a
MATGENLIB = $(SuperLUroot)/TESTING/MATGEN/libmatgen.a
XSDK_INDEX_SIZE = @XSDK_INDEX_SIZE@
HAVE_METIS = @HAVE_METIS@
# BLASDEF = -DUSE_VENDOR_BLAS
BLASLIB = ${BLAS_LIB_EXPORT}
LIBS = $(SUPERLULIB) ${BLAS_LIB_EXPORT} ${MATGENLIB}
LIBS += ${METIS_LIB_EXPORT}
#
# The archiver and the flag(s) to use when building archive (library)
# If your system has no ranlib, set RANLIB = echo.
#
ARCH = @CMAKE_AR@
ARCHFLAGS = cr
RANLIB = @CMAKE_RANLIB@
CC = @CMAKE_C_COMPILER@
CFLAGS = @CMAKE_C_FLAGS@
NOOPTS = -O0
FORTRAN = @CMAKE_Fortran_COMPILER@
LOADER = $(CC)
LOADOPTS =
#
# The directory in which Matlab is installed
#
MATLAB = /Applications/MATLAB_R2015b.app