-
-tests: matitac
- (cd library && make clean all)
- (cd tests && make clean all)
-tests.opt: matitac.opt
- (cd library && make clean.opt opt)
- (cd tests && make clean.opt opt)
-.PHONY: tests tests.opt
+ rm -f configure matita.conf.xml.sample
+
+tests: matitac matitadep matitaclean
+ @(cd library && make MATITAC="- ../scripts/do_tests.sh $(DO_TESTS_OPTS) ../matitac ../matitaclean /dev/null" clean all)
+ @(cd tests && make MATITAC="- ../scripts/do_tests.sh $(DO_TESTS_OPTS) ../matitac ../matitaclean /dev/null" clean all)
+ @(cd contribs/LAMBDA-TYPES && make MATITAC="- ../../scripts/do_tests.sh $(DO_TESTS_OPTS) ../../matitac ../../matitaclean /dev/null" clean all)
+tests.opt: matitac.opt matitadep.opt matitaclean.opt
+ @(cd library && make MATITAC="- ../scripts/do_tests.sh $(DO_TESTS_OPTS) ../matitac.opt ../matitaclean.opt /dev/null" clean.opt opt)
+ @(cd tests && make MATITAC="- ../scripts/do_tests.sh $(DO_TESTS_OPTS) ../matitac.opt ../matitaclean.opt /dev/null" clean.opt opt)
+ @(cd contribs/LAMBDA-TYPES && make MATITAC="- ../../scripts/do_tests.sh $(DO_TESTS_OPTS) ../../matitac.opt ../../matitaclean.opt /dev/null" clean.opt opt)
+cleantests: matitaclean
+ @(cd library && make clean)
+ @(cd tests && make clean)
+ @(cd contribs/LAMBDA-TYPES && make clean)
+.PHONY: tests tests.opt cleantests