-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
57 lines (37 loc) · 881 Bytes
/
Makefile
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
55
56
SHELL := /bin/bash
# Required modules (NCI)
# - hdf4/4.2.6_2012 ==> for hdf_extractor (DEPRECATED)
# - intel-fc/11.1.073 ==> for FORTRAN sources (using ifort)
# - intel-mkl/10.3.0 ==> for FORTRAN sources (using ifort)
include Makefile.platform
all: binaries .doc
#
# Executables
#
binaries: cbin fbin ula3
cbin:
$(MAKE) --directory=src install
fbin:
$(MAKE) --directory=fortran --makefile=$(FMAKEFILE) install
ula3:
$(MAKE) --directory=ULA3
gen-doc:
docs/build-sphinx.sh
.doc: gen-doc
$(MAKE) --directory=docs html
#
# Cleanup
#
clean: cclean fclean binclean pyclean ula3clean .docsclean
cclean:
$(MAKE) --directory=src clean
fclean:
$(MAKE) --directory=fortran --makefile=$(FMAKEFILE) clean
ula3clean:
$(MAKE) --directory=ULA3 clean
binclean:
-rm -f ./bin/*
pyclean:
-find . -name "*.pyc" -delete
.docsclean:
$(MAKE) --directory=docs clean