DIR=$(shell basename $$PWD) MMAS = $(shell find -name "*.mma") MAS = $(MMAS:%.mma=%.ma) %.ma: %.mma # echo -e "$< preamble.ma \npreamble.ma" > depends ../../../matitac.opt -dump $@ $< 2>/dev/null ../../../matitadep.opt ../../../matitac.opt $@ $(DIR) all: $(MAS) ../../../matitac $(DIR).opt opt all.opt: $(MAS) ../../../matitac.opt clean: ../../../matitaclean rm -f $(MAS) clean.opt: ../../../matitaclean.opt rm -f $(MAS) depend: ../../../matitadep depend.opt: ../../../matitadep.opt include xdepend