X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcontribs%2FLAMBDA-TYPES%2FMakefile;h=a2a3b8eecf9a47b97b76df10c30ca63933b0e04c;hb=a2257181cddf84a3b831c50398f5b13e2b79ac3a;hp=17478c3530b2d5cba427466be8097df6ded18de1;hpb=ebb9c7470956fb56a4cad9dcd4b8491c0ed01fca;p=helm.git diff --git a/helm/software/matita/contribs/LAMBDA-TYPES/Makefile b/helm/software/matita/contribs/LAMBDA-TYPES/Makefile index 17478c353..a2a3b8eec 100644 --- a/helm/software/matita/contribs/LAMBDA-TYPES/Makefile +++ b/helm/software/matita/contribs/LAMBDA-TYPES/Makefile @@ -1,30 +1,52 @@ +H=@ + +MATITAOPTIONS=-onepass + DIR=$(shell basename $$PWD) -MMAS = $(shell find -name "*.mma") +MMAS = $(shell find Base-2 -name "*.mma") MAS = $(MMAS:%.mma=%.ma) +XMAS = Base-2/theory.ma pippo -%.ma: %.mma - ../../matitac.opt $< 2> /dev/null - ../../matitac.opt -dump $@ $< 2> /dev/null - $(MAKE) depend.opt +%.ma: %.mma + $(H)../../matitac.opt $(MATITAOPTIONS) `../../matitadep.opt -stdout $<` 2> /dev/null + $(H)../../matitac.opt $(MATITAOPTIONS) -dump $@ $< 2> /dev/null + $(H)$(MAKE) --no-print-directory depend.opt $(DIR) all: $(MAS) - ../../matitac + $(H)$(MAKE) --no-print-directory depend.full + $(H)../../matitac $(MATITAOPTIONS) 2> /dev/null $(DIR).opt opt all.opt: $(MAS) - ../../matitac.opt + $(H)$(MAKE) --no-print-directory depend.full.opt + $(H)../../matitac.opt $(MATITAOPTIONS) 2> /dev/null clean: - ../../matitaclean - rm -f $(MAS) - $(MAKE) depend + $(H)../../matitaclean + $(H)rm -f $(MAS) + $(H)$(MAKE) --no-print-directory depend clean.opt: - ../../matitaclean.opt - rm -f $(MAS) - $(MAKE) depend.opt + $(H)../../matitaclean.opt + $(H)rm -f $(MAS) + $(H)$(MAKE) --no-print-directory depend.opt +clean.ma: + $(H)../../matitaclean.opt $(MAS) + $(H)rm -f $(MAS) + $(H)$(MAKE) --no-print-directory depend.opt + depend: - ../../matitadep - cat Base-2/depends_mma >> depends + @echo matitadep + $(H)../../matitadep $(foreach FILE,$(XMAS),-exclude $(FILE)) + $(H)cat Base-2/depends >> depends depend.opt: - ../../matitadep.opt - cat Base-2/depends_mma >> depends + @echo matitadep.opt + $(H)../../matitadep.opt $(foreach FILE,$(XMAS),-exclude $(FILE)) + $(H)cat Base-2/depends >> depends +depend.full: + @echo matitadep + $(H)../../matitadep + $(H)cat Base-2/depends >> depends +depend.full.opt: + @echo matitadep.opt + $(H)../../matitadep.opt + $(H)cat Base-2/depends >> depends include Base-2/.depend