-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
63 lines (53 loc) · 1.3 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
CARGO := cargo --offline
RUSTC := rustc
.PHONY: all
all: release
.PHONY: v version
v: version
version:
$(RUSTC) --version > rustc.version
$(CARGO) --version > cargo.version
.PHONY: dev debug
dev: debug
debug:
$(CARGO) build --lib --bins
.PHONY: rel release
rel: release
release:
$(CARGO) build --release --lib --bins
.PHONY: clean
clean:
rm -rf target
.PHONY: o oracle boot-oracle
o: boot-oracle
oracle: boot-oracle
boot-oracle:
RUST_BACKTRACE=1 ./target/release/boot-oracle
.PHONY: devint dev-int dev-boot-interp dev-boot-interp-test
devint: dev-boot-interp-test
dev-int: dev-boot-interp-test
dev-boot-interp: dev-boot-interp-test
dev-boot-interp-test:
./target/debug/boot-interp
.PHONY: i in int interp boot-interp boot-interp-test
i: boot-interp-test
in: boot-interp-test
int: boot-interp-test
interp: boot-interp-test
boot-interp: boot-interp-test
boot-interp-test:
./target/release/boot-interp-test
.PHONY: 1 i1 int1 interp1
1: boot-interp-test-1
i1: boot-interp-test-1
int1: boot-interp-test-1
interp1: boot-interp-test-1
boot-interp-test-1:
./target/release/boot-interp-test-1
.PHONY: last ilast int-last interp-last
last: boot-interp-test-last
ilast: boot-interp-test-last
int-last: boot-interp-test-last
interp-last: boot-interp-test-last
boot-interp-test-last:
./target/release/boot-interp-test-last