-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
66 lines (47 loc) · 1.04 KB
/
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
57
58
59
60
61
62
63
64
65
CXX?=c++
CCX?=cc
FCX?=gfortran
COMPILER_OPTIONS = -O3
INCLUDES = -I./src
OUTDIR = ./bin
QDSUFF ?=
LIBS ?= $(OUTDIR)/coleso.a
default: examplecpp ;
qd-package:
$(MAKE) -C ./qd
lib:
$(MAKE) -C ./src
libqd:
$(MAKE) -C ./src CFLAGS=-DEXTRAPRECISION_COLESO QDSUFF=qd
examplecpp: lib
$(MAKE) -C ./example examplecpp
examplecppqd: libqd qd-package
$(MAKE) -C ./example examplecppqd
examplec: lib
$(MAKE) -C ./example examplec
examplef: lib
$(MAKE) -C ./example examplef
testcpp: lib
$(MAKE) -C ./test testcpp
testc: lib
$(MAKE) -C ./test testc
testf: lib
$(MAKE) -C ./test testf
testcpprun: lib
$(MAKE) -C ./test testcpprun
testcppqd: libqd qd-package
$(MAKE) -C ./test testcppqd
testcrun: lib
$(MAKE) -C ./test testcrun
testfrun: lib
$(MAKE) -C ./test testfrun
check: testcpp
$(OUTDIR)/testcpp test
checkqd: libqd qd-package
$(MAKE) -C ./test testcppqd
$(OUTDIR)/testcppqd test waveinchannel-succ
$(OUTDIR)/testcppqd test waveinchannel-succ-dd
$(OUTDIR)/testcppqd test waveinchannel-succ-qd
clean:
rm -rf bin
$(MAKE) -C ./test clean