summaryrefslogtreecommitdiff
path: root/tests/coq/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/coq/Makefile')
-rw-r--r--tests/coq/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/coq/Makefile b/tests/coq/Makefile
index c2b9e379..af4753ee 100644
--- a/tests/coq/Makefile
+++ b/tests/coq/Makefile
@@ -9,10 +9,13 @@ COPY_MAKEFILES = $(addprefix copy-makefile-,$(ALL_DIRS))
GEN_COQ_PROJECT = $(addprefix gen-coq-project-,$(ALL_DIRS))
.PHONY: all
-all: $(COPY_MAKEFILES) $(GEN_COQ_PROJECT) $(VERIFY_DIRS)
+all: prepare-projects verify
-.PHONY: clean
-clean: $(CLEAN_DIRS)
+.PHONY: prepare-projects
+prepare-projects: $(COPY_MAKEFILES) $(GEN_COQ_PROJECT)
+
+.PHONY: verify
+verify: $(VERIFY_DIRS)
.PHONY: verif-%
verif-%:
@@ -34,6 +37,9 @@ gen-coq-project-%:
sed -i -z "s/ \n/\n/g" $*/_CoqProject # Remove whitespaces at the end of lines
cat $*/_CoqProject
+.PHONY: clean
+clean: $(CLEAN_DIRS)
+
.PHONY: clean-%
clean-%:
cd $* && make clean