X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcontribs%2FLAMBDA-TYPES%2FMakefile;h=194fc389e5933faab1403df270a975f11c85cc61;hb=a99ab6bf4e5bb993d363a9e62985371ba14cf71a;hp=a7046636cd8f2bbfbb8ed7058aa910a17d31f443;hpb=ac6e72ade957c5ad253362b149140f7f9fd5ec5d;p=helm.git diff --git a/helm/software/matita/contribs/LAMBDA-TYPES/Makefile b/helm/software/matita/contribs/LAMBDA-TYPES/Makefile index a7046636c..194fc389e 100644 --- a/helm/software/matita/contribs/LAMBDA-TYPES/Makefile +++ b/helm/software/matita/contribs/LAMBDA-TYPES/Makefile @@ -1,16 +1,17 @@ include ../Makefile.defs H=@ +S=-s MATITAOPTIONS=$(MATITAUSEROPTIONS) -onepass LOG = log.txt -DIRS = Legacy-2 Base-2 +DIRS = Legacy-2 Base-2 LambdaDelta-2 -SILENTMAKE = $(H)$(MAKE) H=$(H) -s --no-print-directory +SILENTMAKE = $(H)$(MAKE) $(S) --no-print-directory H=$(H) S=$(S) -MAS = $(patsubst %.mma, %.ma, $(shell find $(DIRS) -name "*.mma")) +MAS = $(shell find $(DIRS) -mindepth 2 -name "*.ma") all: depends $(H)$(RM) $(LOG) @@ -44,14 +45,17 @@ clean.ma: $(H)$(BIN)matitaclean.opt $(MATITAOPTIONS) $(MAS) $(H)$(RM) $(MAS) depends +clean.mma: +# $(H)for FILE in */*.mma ; do if [ -e ../LambdaDelta-1/$${FILE/.mma/.ma} ] ; then true ; else rm $$FILE ; fi done + depend: @echo matitadep - $(H)$(BIN)matitadep $(foreach DIR, $(DIRS), -exclude $(DIR)/theory.ma) -exclude LambdaDelta-2/theory.ma + $(H)$(BIN)matitadep $(foreach DIR, $(DIRS), -exclude $(DIR)/theory.ma) $(H)cat $(DIRS:%=%/depends) >> depends depend.opt: @echo matitadep.opt - $(H)$(BIN)matitadep.opt $(foreach DIR, $(DIRS), -exclude $(DIR)/theory.ma) -exclude LambdaDelta-2/theory.ma + $(H)$(BIN)matitadep.opt $(foreach DIR, $(DIRS), -exclude $(DIR)/theory.ma) $(H)cat $(DIRS:%=%/depends) >> depends depends: depend.opt @@ -61,5 +65,4 @@ depends: depend.opt $(H)$(BIN)matitac.opt $(MATITAOPTIONS) -dump $@ $< 2>> $(LOG) $(H)echo $@ `$(BIN)matitadep.opt -stdout $@` >> depends -include Legacy-2/.depend -include Base-2/.depend +$(foreach DIR, $(DIRS), $(eval include $(DIR)/.depend))