From: Claudio Sacerdoti Coen Date: Fri, 1 Jul 2005 16:47:33 +0000 (+0000) Subject: * makefile improved X-Git-Tag: PRE_GETTER_STORAGE~44 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=b5241c153f390c130ee7cc8d4e732b57711e1ddc;p=helm.git * makefile improved * new target-schema: *.opt --- 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)