forked from scibuilder/QD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
58 lines (42 loc) · 1.31 KB
/
Makefile.am
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
57
58
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = config src include tests fortran
BUILT_SOURCES = docs/qd.pdf
dist_doc_DATA = README docs/qd.pdf
dist_noinst_DATA = docs/Makefile \
docs/qd.tex docs/qd.bib \
docs/nine-two-sum.eps docs/nine-two-sum.fig \
docs/normal_sum_prod.eps docs/normal_sum_prod.fig \
docs/qd_add.eps docs/qd_add.fig \
docs/qd_add_proof.eps docs/qd_add_proof.fig \
docs/qd_add_qd_d.eps docs/qd_add_qd_d.fig \
docs/qd_mul_accum.eps docs/qd_mul_accum.fig \
docs/qd_mul_qd_d.eps docs/qd_mul_qd_d.fig \
docs/quick-two-sum.eps docs/quick-two-sum.fig \
docs/six-three-sum.eps docs/six-three-sum.fig \
docs/three-sum-2.eps docs/three-sum-2.fig \
docs/three-sum-3.eps docs/three-sum-3.fig \
docs/three-sum.eps docs/three-sum.fig \
docs/two-prod.eps docs/two-prod.fig \
docs/two-sum.eps docs/two-sum.fig
doc: docs/qd.pdf
docs/qd.pdf:
$(MAKE) -C docsqd.pdf
changelog:
git log >ChangeLog
dist-hook:
rm -f ${distdir}/ChangeLog && git log >${distdir}/ChangeLog
cpp-demo:
$(MAKE) -C tests demo
if HAVE_FORTRAN
fortran-demo:
$(MAKE) -C fortran demo
demo: cpp-demo fortran-demo
else
fortran-demo:
@echo "You need a Fortran 95 compiler to build fortran demo programs." && false
demo: cpp-demo
endif
time:
$(MAKE) -C tests time
bin_SCRIPTS=qd-config
.PHONY: changelog cpp-demo fortran-demo demo time doc