summaryrefslogtreecommitdiff
path: root/tests/coq
diff options
context:
space:
mode:
authorSon Ho2023-01-09 21:38:48 +0100
committerSon HO2023-02-03 11:21:46 +0100
commit6de775cde92e37f2e5e70d3db34a326a4c831920 (patch)
tree4b9d0f9d4625852f847c51c50c1f83d7ef42b750 /tests/coq
parent32a201a46a14c9628346a48c4f6fddf96d18b996 (diff)
Make modifications to the Makefiles
Diffstat (limited to 'tests/coq')
-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