1 SRC=$(shell find @ROOT@ -name "*.ma" -a -type f)
15 [ ! -e $@ ] || ($(MATITACLEAN) $< 1>/dev/null 2>/dev/null ; rm -f $@)
16 ($(MATITAC) -q -I @ROOT@ $< | (grep -v "^make" || true)) || \
17 ($(MATITACLEAN) $< ; exit 1)
19 @DEPFILE@ @DEPFILESHORT@: $(SRC)
20 @DEP@ -I @ROOT@ $^ > @DEPFILE@
22 for X in `cat @DEPFILE@ | cut -f 1 -d :`; do\
23 TMP=`basename $$X | sed s/\.moo$$//`;\
24 echo "$$TMP: $$X" >> @DEPFILESHORT@;\
27 # this is the depend for full targets like:
28 # dir/dir/name.moo: dir/dir/name.ma dir/dep.moo
31 # this is for short name targets like:
32 # name: dir/dir/name.moo
33 -include @DEPFILESHORT@