-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake.inc
More file actions
33 lines (24 loc) · 715 Bytes
/
make.inc
File metadata and controls
33 lines (24 loc) · 715 Bytes
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
# gnu compilers
# LAPACK and BLAS libraries
BLASLIB = -L$(HOME)/LIB/LAPACK/3.8.0/BLAS -lblas_gfortran
LAPACKLIB = -L$(HOME)/LIB/LAPACK/3.8.0 -llapack_gfortran
# SuperLU library
SUPERLUDIR = $(HOME)/LIB/SuperLU/5.2.1
SUPERLULIB = -L$(SUPERLUDIR) -lsuperlu_gcc
SUPERLUINC = -I$(SUPERLUDIR)/SRC
# ARPACK library
ARPACKDIR = $(HOME)/LIB/ARPACK
ARPACKLIB = -L$(ARPACKDIR) -larpack_gfortran
ARPACKINC = -I$(ARPACKDIR)/SRC
LIBS = $(SUPERLULIB) $(ARPACKLIB) $(LAPACKLIB) $(BLASLIB)
INCS = $(SUPERLUINC) $(ARPACKINC)
CC = gcc
CFLAGS = -Wall -O2 -g
FC = gfortran
FFLAGS = -Wall -O2 -g
LOADER = $(FC)
LDFLAGS =
ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib
RM = rm -f