]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/template_makefile.in
rc-1
[helm.git] / matita / template_makefile.in
index 7c5a40b31381736ce69c7cbab4f668ccf30f4be7..ac3e1449829f36ae6dda5c85a7f7a02487588dba 100644 (file)
@@ -1,4 +1,5 @@
-SRC=$(shell find @ROOT@ -name "*.ma" -a -type f | sed 's?^@ROOT@/??')
+SRC=$(shell find @ROOT@ -name "*.ma" -a -type f)
+SHORTSRC=$(echo $(SRC) | sed 's?^@ROOT@/??g')
 TODO=$(SRC:%.ma=%.mo)
 
 MATITA_FLAGS=
@@ -16,7 +17,7 @@ all: $(TODO)
 
 clean:
        $(MATITACLEAN) $(MATITA_FLAGS) $(SRC) 
-       rm -f $(TODO)
+       rm -f $(TODO) @DEPFILE@
 
 %.moo:
        if [ -z "$<" ]; then \
@@ -32,4 +33,4 @@ clean:
 
 # this is the depend for full targets like:
 # dir/dir/name.moo: dir/dir/name.ma dir/dep.moo
--include @DEPFILE@
+include @DEPFILE@