-depends: depend.opt
-
-%.ma: %.mma
- $(H)$(BIN)matitac.opt $(MATITAOPTIONS) $(word 3,$(shell grep -h $< */depends)) `$(BIN)matitadep.opt -stdout $<` 2>> $(LOG)
- $(H)$(BIN)matitac.opt $(MATITAOPTIONS) -dump $@ $< 2>> $(LOG)
- $(H)echo $@ `$(BIN)matitadep.opt -stdout $@` >> depends
-
-include Legacy-2/.depend
-include Base-2/.depend
+ifneq ($(strip $(MAS)),)
+clean.ma:
+ $(H)$(BIN)matitaclean.opt $(MATITAOPTIONS) $(MAS)
+ $(H)$(RM) $(MAS)
+else
+clean.ma:
+ $(H)echo no files to clean
+endif