X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcontribs%2FLAMBDA-TYPES%2FMakefile;h=fef14b2b888584258cffccf0ee41955d14617cd2;hb=6302e8ebc63beb73aa672c9c23199bdfaa3f8715;hp=a57a7281eb33a855baac39626b3332c395559f9b;hpb=0e9753cbccef485911e2c2de1b4cdcae592906b9;p=helm.git diff --git a/helm/software/matita/contribs/LAMBDA-TYPES/Makefile b/helm/software/matita/contribs/LAMBDA-TYPES/Makefile index a57a7281e..fef14b2b8 100644 --- a/helm/software/matita/contribs/LAMBDA-TYPES/Makefile +++ b/helm/software/matita/contribs/LAMBDA-TYPES/Makefile @@ -1,15 +1,38 @@ +include ../Makefile.defs + DIR=$(shell basename $$PWD) -MATITAOPTIONS=-onepass + +H=@ + +MATITAOPTIONS=$(MATITAUSEROPTIONS) -onepass + +LOG = log.txt + +MMAS = $(shell find -name "*.mma") +MAS = $(MMAS:%.mma=%.ma) $(DIR) all: - ../../../matitac $(MATITAOPTIONS) + $(H)$(RM) $(LOG) + $(H)$(BIN)matitac $(MATITAOPTIONS) 2>> $(LOG) $(DIR).opt opt all.opt: - ../../../matitac.opt $(MATITAOPTIONS) + $(H)$(RM) $(LOG) + $(H)$(BIN)matitac.opt $(MATITAOPTIONS) 2>> $(LOG) clean: - ../../../matitaclean + $(H)$(BIN)matitaclean $(MATITAOPTIONS) + $(H)$(RM) $(MAS) clean.opt: - ../../../matitaclean.opt + $(H)$(BIN)matitaclean.opt $(MATITAOPTIONS) + $(H)$(RM) $(MAS) depend: - ../../../matitadep + $$(H)(BIN)matitadep $(MATITAOPTIONS) depend.opt: - ../../../matitadep.opt + $(H)$(BIN)matitadep.opt $(MATITAOPTIONS) + +ifneq ($(strip $(MAS)),) +clean.ma: + $(H)$(BIN)matitaclean.opt $(MATITAOPTIONS) $(MAS) + $(H)$(RM) $(MAS) +else +clean.ma: + $(H)echo no files to clean +endif