forked from xiaoyeli/superlu
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmake.inc.in
44 lines (38 loc) · 1.09 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
############################################################################
#
# Program: SuperLU
#
# Module: make.inc
#
# Purpose: Top-level Definitions
#
# Creation date: May 10, 2015
#
# Modified:
#
#
############################################################################
#
# ToDo: Make this work for shared libraries and out-of-source builds. Right
# now it only works for builds under ${CMAKE_SOURCE_DIR}/build/
#
# The name of the libraries to be created/linked to
#
SuperLUroot = ${CMAKE_SOURCE_DIR}/build
SUPERLULIB = $(SuperLUroot)/SRC/${PROJECT_NAME_LIB_EXPORT}
TMGLIB = libtmglib.a
# BLASDEF = -DUSE_VENDOR_BLAS
LIBS = $(SUPERLULIB) ${BLAS_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_RELEASE@ @CMAKE_C_FLAGS@
NOOPTS = -O0
FORTRAN = @CMAKE_Fortran_COMPILER@
LOADER = $(CC)
LOADOPTS =