X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FMakefile.in;h=67a7fabc8c552a5b3c7600dab01c0d4a4a3ff2e8;hb=fb53caa837dad54352753c100094027dd8e45334;hp=1ace35ca4daf58b7044a7fdb22e563422265c1e2;hpb=3a01bd3bb2a1d7b891b6c8b024bf6975d86d2a1f;p=helm.git diff --git a/helm/matita/Makefile.in b/helm/matita/Makefile.in index 1ace35ca4..67a7fabc8 100644 --- a/helm/matita/Makefile.in +++ b/helm/matita/Makefile.in @@ -45,6 +45,9 @@ CCMOS = \ all: matita matitac cicbrowser +updater: + $(OCAMLC) $(PKGS) -linkpkg -o $@ updater.ml + ifeq ($(HAVE_OCAMLOPT),yes) CMXS = $(patsubst %.cmo,%.cmx,$(CMOS)) CCMXS = $(patsubst %.cmo,%.cmx,$(CCMOS)) @@ -63,7 +66,7 @@ matita.opt: $(LIBX_DEPS) $(CMXS) matita.ml matitac: $(LIB_DEPS) $(CCMOS) matitac.ml $(OCAMLC) $(CPKGS) -linkpkg -o $@ $(CCMOS) matitac.ml -matitac.opt: $(LIBX_DEPS) $(CMXS) matitac.ml +matitac.opt: $(LIBX_DEPS) $(CCMXS) matitac.ml $(OCAMLOPT) $(CPKGS) -linkpkg -o $@ $(CCMXS) matitac.ml cicbrowser: matita @@ -94,9 +97,11 @@ distclean: clean rm -f matita.glade.bak matita.gladep.bak rm -rf autom4te.cache/ -tests: matitac - for i in tests/*.ma; do (./matitac $$i 2> /dev/null > /dev/null && echo "[OK] $$i") || echo "[KO] $$i"; done -.PHONY: tests +tests: matita + @scripts/do_tests.sh ./matitac /dev/null tests/*.ma +tests.opt: matitac.opt + @scripts/do_tests.sh ./matitac.opt /dev/null tests/*.ma +.PHONY: tests tests.opt tags: TAGS .PHONY: TAGS