forked from ethereum-optimism/optimism
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (24 loc) · 997 Bytes
/
Makefile
File metadata and controls
27 lines (24 loc) · 997 Bytes
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
DEPRECATED_TARGETS := cannon cannon64-impl cannon-embeds clean elf elf-go-current sanitize-program contract test cannon-stf-verify fuzz lint
include ../justfiles/deprecated.mk
# diff-cannon needs a manual shim because VM is a positional arg in just,
# not an env var. The generic shim would produce `just VM=X diff-cannon`
# but just needs `just diff-cannon X`.
.PHONY: diff-cannon
diff-cannon:
ifndef VM
$(error VM is required: make diff-cannon VM=multithreaded64-5)
endif
@echo
@printf '%s\n' 'Deprecated make call: make diff-cannon VM=$(VM)'
@printf '%s\n' 'Consider using just instead: just diff-cannon $(VM)'
@echo
just diff-cannon $(VM)
# Pattern target for backwards compatibility with make diff-<vm>-cannon invocations.
# Translates make diff-<vm>-cannon to just diff-cannon <vm>.
.PHONY: diff-%-cannon
diff-%-cannon:
@echo
@printf '%s\n' 'Deprecated make call: make diff-$*-cannon'
@printf '%s\n' 'Consider using just instead: just diff-cannon $*'
@echo
just diff-cannon $*