]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/utf8_macros/Makefile
added (placeholder) distribution stuff for matita
[helm.git] / helm / ocaml / utf8_macros / Makefile
index 31a1939ce436eecaf8faede3917e7fd121bd24ca..952b9f597c3fd13dca2490975c9f7a85acfc35b7 100644 (file)
@@ -1,5 +1,4 @@
 PACKAGE = utf8_macros
-REQUIRES = 
 PREDICATES =
 MAKE_TABLE_PACKAGES = helm-xml
 
@@ -12,17 +11,21 @@ EXTRA_OBJECTS_TO_CLEAN =
 all: utf8_macros.cma pa_unicode_macro.cma
 
 make_table: make_table.ml
-       $(OCAMLFIND) ocamlc -package $(MAKE_TABLE_PACKAGES) -linkpkg -o $@ $^
+       @echo "  OCAMLC $<"
+       @$(OCAMLFIND) ocamlc -package $(MAKE_TABLE_PACKAGES) -linkpkg -o $@ $^
 
 utf8MacroTable.ml:
        ./make_table $@
 utf8MacroTable.cmo: utf8MacroTable.ml
-       $(OCAMLFIND) ocamlc -c $<
+       @echo "  OCAMLC $<"
+       @$(OCAMLFIND) ocamlc -c $<
 
 pa_unicode_macro.cmo: pa_unicode_macro.ml utf8Macro.cmo
-       $(OCAMLFIND) ocamlc -package camlp4 -pp "camlp4o q_MLast.cmo pa_extend.cmo" -c $<
+       @echo "  OCAMLC $<"
+       @$(OCAMLFIND) ocamlc -package camlp4 -pp "camlp4o q_MLast.cmo pa_extend.cmo -loc loc" -c $<
 pa_unicode_macro.cma: utf8MacroTable.cmo utf8Macro.cmo pa_unicode_macro.cmo
-       $(OCAMLFIND) ocamlc -a -o $@ $^
+       @echo "  OCAMLC -a $@"
+       @$(OCAMLFIND) ocamlc -a -o $@ $^
 
 .PHONY: test
 test: test.ml
@@ -33,5 +36,7 @@ distclean: extra_clean
 extra_clean:
        rm -f make_table test
 
+STATS_EXCLUDE = utf8MacroTable.ml
+
 include ../Makefile.common