]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/Makefile.in
matitaclean anapshot
[helm.git] / helm / matita / Makefile.in
index c7b250a3b4789ae97a3e212e25019f7f9c205a8b..168dfa3051ec78d1f85a60b81c9f79d2b3d4ffdc 100644 (file)
@@ -46,7 +46,7 @@ CCMOS =                               \
        matitacLib.cmo
 
 
-all: matita matitac matitatop cicbrowser matitadep
+all: matita matitac matitatop cicbrowser matitadep matitaclean
 
 updater: $(LIB_DEPS)
        $(OCAMLC) $(PKGS) -linkpkg -o $@ updater.ml
@@ -56,7 +56,7 @@ CMXS = $(patsubst %.cmo,%.cmx,$(CMOS))
 CCMXS = $(patsubst %.cmo,%.cmx,$(CCMOS))
 LIB_DEPS := $(shell $(OCAMLFIND) query -recursive -predicates "byte" -format "%d/%a" $(REQUIRES))
 LIBX_DEPS := $(shell $(OCAMLFIND) query -recursive -predicates "native" -format "%d/%a" $(REQUIRES))
-opt: matita.opt matitac.opt cicbrowser.opt matitadep.opt
+opt: matita.opt matitac.opt cicbrowser.opt matitadep.opt matitaclean.opt
 else
 opt:
        @echo "Native code compilation is disabled"
@@ -80,6 +80,11 @@ matitadep: matitadep.ml $(LIB_DEPS) $(CCMOS)
 matitadep.opt: matitadep.ml $(LIB_DEPS) $(CCMXS)
        $(OCAMLOPT) $(CPKGS) -linkpkg -o $@ $(CCMXS) $<
 
+matitaclean: matitaclean.ml $(LIB_DEPS) $(CCMOS)
+       $(OCAMLC) $(CPKGS) -linkpkg -o $@ $(CCMOS) $<
+matitaclean.opt: matitaclean.ml $(LIB_DEPS) $(CCMXS)
+       $(OCAMLOPT) $(CPKGS) -linkpkg -o $@ $(CCMXS) $<
+
 cicbrowser: matita
        @test -f $@ || ln -s $< $@
 cicbrowser.opt: matita.opt
@@ -109,7 +114,7 @@ distclean: clean
        rm -f matita.glade.bak matita.gladep.bak
        rm -rf autom4te.cache/
 
-tests: matita
+tests: matitac
        @scripts/do_tests.sh ./matitac /dev/null tests/*.ma
 tests.opt: matitac.opt
        @scripts/do_tests.sh ./matitac.opt /dev/null tests/*.ma