summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonathan Protzenko2023-01-23 18:17:42 -0800
committerSon HO2023-06-04 21:44:33 +0200
commitcbcaa965c4ee5597bb8f4f8bee7fba87729e7154 (patch)
treefb6d55d9cd9248e26fc6f16f8521e6c7e3fb2ef0 /Makefile
parentdf2e79f88b04ae7bf43586eb83ea0461fb547b3b (diff)
Initial Lean backend, WIP
Diffstat (limited to '')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 19ba0b6f..1533668c 100644
--- a/Makefile
+++ b/Makefile
@@ -186,7 +186,7 @@ gen-llbcp-%:
.PHONY: trans-%
trans-%: CHARON_TEST_DIR = $(CHARON_TESTS_REGULAR_DIR)
trans-%: FILE = $*
-trans-%: gen-llbc-% tfstar-% tcoq-%
+trans-%: gen-llbc-% tfstar-% tcoq-% tlean-%
echo "# Test $* done"
# "p" stands for "Polonius"
@@ -222,6 +222,12 @@ tcoqp-%: BACKEND_SUBDIR := coq
tcoqp-%:
$(AENEAS_CMD)
+.PHONY: tlean-%
+tlean-%: OPTIONS += -backend lean -test-trans-units
+tlean-%: BACKEND_SUBDIR := lean
+tlean-%:
+ $(AENEAS_CMD)
+
# Nix
.PHONY: nix
nix: nix-aeneas-tests nix-aeneas-verify-fstar nix-aeneas-verify-coq