summaryrefslogtreecommitdiff
path: root/tests/lean/Makefile
diff options
context:
space:
mode:
authorSon HO2023-07-31 16:15:58 +0200
committerGitHub2023-07-31 16:15:58 +0200
commit887d0ef1efc8912c6273b5ebcf979384e9d7fa97 (patch)
tree92d6021eb549f7cc25501856edd58859786b7e90 /tests/lean/Makefile
parent53adf30fe440eb8b6f58ba89f4a4c0acc7877498 (diff)
parent9b3a58e423333fc9a4a5a264c3beb0a3d951e86b (diff)
Merge pull request #31 from AeneasVerif/son_lean_backend
Improve the Lean backend
Diffstat (limited to 'tests/lean/Makefile')
-rw-r--r--tests/lean/Makefile31
1 files changed, 13 insertions, 18 deletions
diff --git a/tests/lean/Makefile b/tests/lean/Makefile
index ed3b3e3b..3ccfbec2 100644
--- a/tests/lean/Makefile
+++ b/tests/lean/Makefile
@@ -1,40 +1,35 @@
ALL_DIRS ?= $(filter-out %~ lean-toolchain% Makefile%, $(wildcard *))
+# TODO: remove
UPDATE_DIRS = $(addprefix update-,$(ALL_DIRS))
+# TODO: remove
VERIFY_DIRS = $(addprefix verif-,$(ALL_DIRS))
+# TODO: remove
CLEAN_DIRS = $(addprefix clean-,$(ALL_DIRS))
+# TODO: remove
COPY_LEAN_TOOLCHAIN = $(addprefix copy-lean-toolchain-,$(ALL_DIRS))
.PHONY: all
all: prepare-projects verify
.PHONY: prepare-projects
-prepare-projects: $(COPY_LEAN_TOOLCHAIN)
+prepare-projects: copy-lean-toolchain
.PHONY: prepare-projects
-copy-lean-toolchain-%:
- cp lean-toolchain $*
+copy-lean-toolchain:
+ cp ../../backends/lean/lean-toolchain .
.PHONY: update
-update: $(UPDATE_DIRS)
-
-.PHONY: update-%
-update-%:
- cd $* && lake update
+update:
+ lake update
.PHONY: verify
-verify: $(VERIFY_DIRS)
-
-.PHONY: verif-%
-verif-%:
- cd $* && lake build
+verify:
+ lake build
.PHONY: clean
-clean: $(CLEAN_DIRS)
-
-.PHONY: clean-%
-clean-%:
- cd $* && lake clean
+clean:
+ lake clean