-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmakefile
83 lines (68 loc) · 1.66 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
default: \
Thyme.jar \
Thyme-docs.tgz
MATHS = \
ichi/maths/Rng.class \
ichi/maths/PackedMaths.class \
ichi/maths/package.class
BENCHES = \
ichi/bench/JvmStatus.class \
ichi/bench/Thyme.class \
ichi/bench/Parsley.class
EXAMPLES = \
ichi/bench/examples/ParsleyExample.class \
ichi/bench/examples/ThymeExample.class
Thyme-docs.tgz : \
Thyme.jar
mkdir -p docs && scaladoc -cp Thyme.jar -d docs bench/*.scala && tar czf Thyme-docs.tgz docs/
Thyme.jar : \
${MATHS} \
${BENCHES} \
${EXAMPLES}
jar cf Thyme.jar ichi/
ichi/maths/Rng.class : \
makefile \
maths/Rng.scala
scalac maths/Rng.scala
ichi/maths/PackedMaths.class : \
makefile \
maths/PackedMaths.scala
scalac maths/PackedMaths.scala
ichi/maths/package.class : \
makefile \
ichi/maths/Rng.class \
ichi/maths/PackedMaths.class \
maths/package.scala
rm ichi/maths/package*.class; scalac maths/package.scala
ichi/bench/JvmStatus.class : \
makefile \
${MATHS} \
bench/JvmStatus.scala
scalac bench/JvmStatus.scala
ichi/bench/Thyme.class : \
makefile \
${MATHS} \
ichi/bench/JvmStatus.class \
bench/Thyme.scala
scalac bench/Thyme.scala
ichi/bench/Parsley.class : \
makefile \
${MATHS} \
ichi/bench/JvmStatus.class \
ichi/bench/Thyme.class \
bench/Parsley.scala
scalac bench/Parsley.scala
ichi/bench/examples/ParsleyExample.class : \
makefile \
${MATHS} \
${BENCHES} \
bench/Examples.scala
scalac bench/Examples.scala
ichi/bench/examples/ThymeExample.class : \
makefile \
${MATHS} \
${BENCHES} \
bench/Examples.scala
scalac bench/Examples.scala
clean:
rm ichi/bench/examples/*.class; rm ichi/bench/*.class; rm ichi/maths/*.class; rm -r docs/ichi