]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/template_makefile.in
now the makefile for developments requires the depend file
[helm.git] / helm / software / matita / template_makefile.in
index 7c5a40b31381736ce69c7cbab4f668ccf30f4be7..630a141807a3cc817b0ad703fb99804a22f57a5b 100644 (file)
@@ -1,5 +1,6 @@
-SRC=$(shell find @ROOT@ -name "*.ma" -a -type f | sed 's?^@ROOT@/??')
-TODO=$(SRC:%.ma=%.mo)
+SRC=$(shell find @ROOT@ -name "*.ma" -a -type f)
+SHORTSRC=$(echo $(SRC) | sed 's?^@ROOT@/??g')
+TODO=$(SHORTSRC:%.ma=%.mo)
 
 MATITA_FLAGS=
 MATITA_FLAGS+=-noprofile
@@ -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@