From f5e94b0339a5dbb52555720c8bbf8bd79baaf6ca Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Fri, 1 Jul 2005 17:00:00 +0000 Subject: [PATCH] ... --- helm/matita/library/Makefile | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/helm/matita/library/Makefile b/helm/matita/library/Makefile index bc231af58..553cde46d 100644 --- a/helm/matita/library/Makefile +++ b/helm/matita/library/Makefile @@ -11,35 +11,41 @@ MATITACOPT=../scripts/do_tests.sh ../matitac.opt echo /dev/null VERBOSEMATITAC=../matitac VERBOSEMATITACOPT=../matitac.opt +MATITACLEAN=../matitaclean +MATITACLEANOPT=../matitaclean.opt + +MATITADEP=../matitadep +MATITADEPOPT=../matitadep.opt + DEPEND_NAME=.depend LINKS=.matita matita.lang matita.conf.xml all: $(LINKS) $(SRC:%.ma=%.moo) opt: - @make MATITAC="$(MATITACOPT)" all + @make MATITAC="$(MATITACOPT)" MATITACLEAN="$(MATITACLEANOPT)" MATITADEP="$(MATITADEPOPT)" all verbose.opt: - @make MATITAC="$(VERBOSEMATITAC)" all + @make MATITAC="$(VERBOSEMATITAC)" MATITACLEAN="$(MATITACLEANOPT)" MATITADEP="$(MATITADEPOPT)" all verboseopt: - @make MATITAC="$(VERBOSEMATITACOPT)" all + @make MATITAC="$(VERBOSEMATITACOPT)" MATITACLEAN="$(MATITACLEANOPT)" MATITADEP="$(MATITADEPOPT)" all %.opt: - @make MATITAC="$(MATITACOPT)" $(@:%.opt=%) + @make MATITAC="$(MATITACOPT)" MATITACLEAN="$(MATITACLEANOPT)" MATITADEP="$(MATITADEPOPT)" $(@:%.opt=%) clean: $(LINKS) rm -f $(SRC:%.ma=%.moo) - ../matitaclean all + $(MATITACLEAN) all depend: $(DEPEND_NAME) -%.moo:%.ma depend $(LINKS) - @[ ! -e $@ ] || ../matitaclean $< - @$(MATITAC) $< || ../matitaclean $< +%.moo:%.ma $(DEPEND_NAME) $(LINKS) + @[ ! -e $@ ] || $(MATITACLEAN) $< + @$(MATITAC) $< || $(MATITACLEAN) $< $(DEPEND_NAME): $(SRC) $(LINKS) - ../matitadep $(SRC) > $@ + $(MATITADEP) $(SRC) > $@ # Let's prepare the environment .matita: -- 2.39.2