forked from smdogroup/funtofem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.in.info
35 lines (27 loc) · 910 Bytes
/
Makefile.in.info
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
# Makefile.in configures TransferScheme
# Where the funtofem directory is
F2F_DIR=${HOME}/git/funtofem
# Compilers and other programs
CXX = mpicxx
CYTHON = cython
MAKE = make
PIP = pip
RM = rm -f
# Compiler flags
CXXFLAGS = -fPIC -O3 -Wall -Wpedantic
CXXFLAGS_DEBUG = -fPIC -g -Wall -Wpedantic
# For linux systems, use the following settings:
SO_EXT=so
SO_LINK_FLAGS=-fPIC -shared
# For MAC OS X, use the following settings:
#SO_EXT=so
#SO_LINK_FLAGS=-fPIC -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress
# Where your LAPACK/BLAS libraries are located
LAPACK_LIBS = -L/usr/lib -llapack -lblas
# TransferScheme include, lib, and ld flags (do not modify)
F2F_INCLUDE = -I${F2F_DIR}/include
F2F_LIB = ${F2F_DIR}/lib/libtransfer_schemes.a
F2F_LD_FLAGS = -L${F2F_DIR}/lib/ -Wl,-rpath,${F2F_DIR}/lib -ltransfer_schemes ${LAPACK_LIBS}
# Set the ar flags
AR = ar
AR_FLAGS = rcs