summaryrefslogtreecommitdiff
path: root/tests/fstar/Makefile
diff options
context:
space:
mode:
authorSon Ho2022-11-11 21:34:29 +0100
committerSon HO2022-11-14 14:21:04 +0100
commit6db835db88c4bcf0e00ce1a7a6bc396382b393c3 (patch)
tree3b2a9d46467cf313e3af641cd164e61af2a09541 /tests/fstar/Makefile
parentb191070501ceafdd49c999385c4410848249fe18 (diff)
Reorganize the project to prepare for new backends
Diffstat (limited to 'tests/fstar/Makefile')
-rw-r--r--tests/fstar/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/fstar/Makefile b/tests/fstar/Makefile
new file mode 100644
index 00000000..a9c170f7
--- /dev/null
+++ b/tests/fstar/Makefile
@@ -0,0 +1,19 @@
+ALL_DIRS ?= $(filter-out Makefile%, $(wildcard *))
+
+VERIFY_DIRS = $(addprefix verif-,$(ALL_DIRS))
+
+CLEAN_DIRS = $(addprefix clean-,$(ALL_DIRS))
+
+.PHONY: all
+all: $(VERIFY_DIRS)
+
+.PHONY: clean
+clean: $(CLEAN_DIRS)
+
+.PHONY: verif-%
+verif-%:
+ cd $* && make all
+
+.PHONY: clean-%
+clean-%:
+ cd $* && make clean