summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSon Ho2024-04-03 17:23:31 +0200
committerSon Ho2024-04-03 17:23:31 +0200
commit944a46fe61018e2b4266f19297daa822b41cf9e7 (patch)
tree5e7aa53510a1e9bbc2ff15dc77875d970a6a49fa /Makefile
parentf4a89caad1459f2f72295c5baa284fe1f9b4c39f (diff)
Improve the Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 98172fda..3b44e0e6 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,10 @@ REGEN_LLBC ?=
# The path to Charon
CHARON_HOME ?= ../charon
+ifeq (,$(wildcard $(CHARON_HOME)))
+ $(error The directory $$CHARON_HOME does not exist$(newline)(CHARON_HOME=$(CHARON_HOME)).)
+endif
+
# The paths to the test directories in Charon (Aeneas will look for the .llbc
# files in there).
CHARON_TESTS_REGULAR_DIR ?= $(CHARON_HOME)/tests
@@ -89,7 +93,7 @@ clean:
# Test the project by translating test files to F*
.PHONY: test
-test: test-no_nested_borrows test-paper \
+test: build-dev test-no_nested_borrows test-paper \
test-hashmap test-hashmap_main \
test-external test-constants \
testp-polonius_list testp-betree_main \