1 SRC=$(shell find @ROOT@ -name "*.ma" -a -type f | sed 's?^@ROOT@/??')
5 MATITA_FLAGS+=-noprofile
18 $(MATITACLEAN) $(MATITA_FLAGS) $(SRC)
22 if [ -z "$<" ]; then \
23 echo "missing dependencies for $@"; \
25 $(MATITAC) $(MATITA_FLAGS) -q -I @ROOT@ $<; \
29 $(MATITADEP) $(MATITA_FLAGS) -I '@ROOT@' $^ 1> @DEPFILE@ 2>@DEPFILE@.errors \
30 || (echo;cat @DEPFILE@.errors;echo;rm @DEPFILE@;false)
32 # this is the depend for full targets like:
33 # dir/dir/name.moo: dir/dir/name.ma dir/dep.moo