forked from libnegf/libnegf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.lib
More file actions
28 lines (21 loc) · 708 Bytes
/
Makefile.lib
File metadata and controls
28 lines (21 loc) · 708 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
#
#
#
all: libnegf
.PHONY: ext_sparskit ext_system
libnegf: ext_sparskit ext_system
mkdir -p libnegf
$(MAKE) -C libnegf -f $(SRCDIR)/src/GNUmakefile \
ARCH="$(ARCH)" MPI="$(MPI)" INELASTIC="$(INELASTIC)" \
FPP="$(FPP)" FPPOPT="$(FPPOPT)" SRCDIR="$(SRCDIR)/src" \
FXX="$(FXX)" FXXOPT="$(FXXOPT)" INCLUDES="$(INCLUDES)" \
OBJDIR="$(OBJDIR)"
ext_sparskit:
mkdir -p sparskit
$(MAKE) -C sparskit -f $(SRCDIR)/ext_sparskit/GNUmakefile \
FXX="$(FXX)" FXXOPT="$(FXXOPT)" SRCDIR="$(SRCDIR)/ext_sparskit" \
OBJDIR="$(OBJDIR)"
ext_system:
mkdir -p ext_system
$(MAKE) -C ext_system -f $(SRCDIR)/ext_system/makefile \
FXX="$(FXX)" FXXOPT="$(FXXOPT)" SRCDIR="$(SRCDIR)/ext_system"