From 6de775cde92e37f2e5e70d3db34a326a4c831920 Mon Sep 17 00:00:00 2001 From: Son Ho Date: Mon, 9 Jan 2023 21:38:48 +0100 Subject: Make modifications to the Makefiles --- tests/coq/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'tests/coq') 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 -- cgit v1.2.3