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@' -dot @DEPFILE@.dot $^ \
30 1> @DEPFILE@ 2>@DEPFILE@.errors \
31 || (echo;cat @DEPFILE@.errors;echo;rm @DEPFILE@;false)
33 # this is the depend for full targets like:
34 # dir/dir/name.moo: dir/dir/name.ma dir/dep.moo