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