1 SRC=$(shell find . -name "*.ma")
3 MATITAC=../scripts/do_tests.sh $(DO_TESTS_OPTS) ../matitac ../matitaclean /dev/null
4 MATITACOPT=../scripts/do_tests.sh $(DO_TESTS_OPTS) ../matitac.opt ../matitaclean.opt /dev/null
5 VERBOSEMATITAC=../matitac
6 VERBOSEMATITACOPT=../matitac.opt
8 MATITACLEAN=../matitaclean
9 MATITACLEANOPT=../matitaclean.opt
11 MATITADEP=../matitadep
12 MATITADEPOPT=../matitadep.opt
18 all: $(SRC:%.ma=%.moo)
21 $(H)make MATITAC="$(MATITACOPT)" MATITACLEAN="$(MATITACLEANOPT)" MATITADEP="$(MATITADEPOPT)" all
24 $(H)make MATITAC="$(VERBOSEMATITAC)" MATITACLEAN="$(MATITACLEANOPT)" MATITADEP="$(MATITADEPOPT)" all
27 $(H)make MATITAC="$(VERBOSEMATITACOPT)" MATITACLEAN="$(MATITACLEANOPT)" MATITADEP="$(MATITADEPOPT)" all
30 $(H)make MATITAC="$(MATITACOPT)" MATITACLEAN="$(MATITACLEANOPT)" MATITADEP="$(MATITADEPOPT)" $(@:%.opt=%)
33 $(H)$(MATITACLEAN) $(SRC)
36 $(H)rm -f $(SRC:%.ma=%.moo)
45 $(H)[ ! -e $@ ] || $(MATITACLEAN) $<
46 $(H)$(MATITAC) $< || $(MATITACLEAN) $<
48 $(DEPEND_NAME): $(SRC)
49 $(H)$(MATITADEP) $(SRC) > $@
51 include $(DEPEND_NAME)