]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/tests/Makefile
"include" command implemented.
[helm.git] / helm / matita / tests / Makefile
index 73cf367a910eec19dac55ee328ed4b25d2159941..47ed823a541c02d6ae628b2c6b49f1f8faf79fff 100644 (file)
@@ -30,9 +30,14 @@ verboseopt:
 
 clean: $(LINKS)
        @rm -f $(SRC:%.ma=%.moo)
-       @$(MATITACLEAN) all
+       @$(MATITACLEAN) $(SRC)
+
+cleanall: $(LINKS)
+       @rm -f $(SRC:%.ma=%.moo)
+       $(MATITACLEAN) all
 
 depend: $(DEPEND_NAME)
+.PHONY: depend
 
 %.moo:%.ma $(DEPEND_NAME) $(LINKS)
        @[ ! -e $@ ] || $(MATITACLEAN) $< 
@@ -43,13 +48,13 @@ $(DEPEND_NAME): $(SRC) $(LINKS)
 
 # Let's prepare the environment
 .matita:
-       @ln -s ../.matita .
+       @ln -fs ../.matita .
 
 matita.lang:
-       @ln -s ../matita.lang .
+       @ln -fs ../matita.lang .
 
 matita.conf.xml:
-       @ln -s ../matita.conf.xml .
+       @ln -fs ../matita.conf.xml .
 #done
 
 include $(DEPEND_NAME)