From b5241c153f390c130ee7cc8d4e732b57711e1ddc Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Fri, 1 Jul 2005 16:47:33 +0000 Subject: [PATCH] * makefile improved * new target-schema: *.opt --- helm/matita/library/Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/helm/matita/library/Makefile b/helm/matita/library/Makefile index ed81e3eca..bc231af58 100644 --- a/helm/matita/library/Makefile +++ b/helm/matita/library/Makefile @@ -6,8 +6,8 @@ SRC=\ nat.ma \ Z.ma -MATITAC=../scripts/do_tests.sh ../matitac ../matitaclean /dev/null -MATITACOPT=../scripts/do_tests.sh ../matitac.opt ../matitaclean.opt /dev/null +MATITAC=../scripts/do_tests.sh ../matitac echo /dev/null +MATITACOPT=../scripts/do_tests.sh ../matitac.opt echo /dev/null VERBOSEMATITAC=../matitac VERBOSEMATITACOPT=../matitac.opt @@ -17,13 +17,16 @@ LINKS=.matita matita.lang matita.conf.xml all: $(LINKS) $(SRC:%.ma=%.moo) opt: - make MATITAC=$(MATITACOPT) all + @make MATITAC="$(MATITACOPT)" all verbose.opt: - make MATITAC=$(VERBOSEMATITAC) all + @make MATITAC="$(VERBOSEMATITAC)" all verboseopt: - make MATITAC=$(VERBOSEMATITACOPT) all + @make MATITAC="$(VERBOSEMATITACOPT)" all + +%.opt: + @make MATITAC="$(MATITACOPT)" $(@:%.opt=%) clean: $(LINKS) rm -f $(SRC:%.ma=%.moo) -- 2.39.2