]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_notation/Makefile
snapshot, notably:
[helm.git] / helm / ocaml / cic_notation / Makefile
index 6b4d13c26ace2e28c5e222111a5e722eb8e564d2..9fa417ef550ff73f061c7d12c8b08337c90ef505 100644 (file)
@@ -3,7 +3,6 @@ PACKAGE = cic_notation
 REQUIRES = \
        helm-utf8_macros \
        ulex
-NOTATIONS =
 NULL =
 INTERFACE_FILES = \
        cicNotationLexer.mli    \
@@ -11,23 +10,19 @@ INTERFACE_FILES = \
        $(NULL)
 IMPLEMENTATION_FILES = \
        $(patsubst %.mli, %.ml, $(INTERFACE_FILES))     \
-       $(patsubst %,%_notation.ml,$(NOTATIONS))        \
        $(NULL)
 
 all:
 
-cicNotationLexer.cmo: cicNotationLexer.ml
+cicNotationLexer.cmo: cicNotationLexer.ml cicNotationLexer.cmi
        $(OCAMLC_P4) -c $<
-cicNotationLexer.cmx: cicNotationLexer.ml
+cicNotationLexer.cmx: cicNotationLexer.ml cicNotationLexer.cmi
        $(OCAMLOPT_P4) -c $<
-cicNotationParser.cmo: cicNotationParser.ml
+cicNotationParser.cmo: REQUIRES = helm-utf8_macros camlp4.gramlib
+cicNotationParser.cmo: cicNotationParser.ml cicNotationParser.cmi cicNotationLexer.cmi
        $(OCAMLC_P4) -c $<
-cicNotationParser.cmx: cicNotationParser.ml
-       $(OCAMLOPT_P4) -c $<
-
-%_notation.cmo: %_notation.ml
-       $(OCAMLC_P4) -c $<
-%_notation.cmx: %_notation.ml
+cicNotationParser.cmx: REQUIRES = helm-utf8_macros camlp4.gramlib
+cicNotationParser.cmx: cicNotationParser.ml cicNotationParser.cmi cicNotationLexer.cmi
        $(OCAMLOPT_P4) -c $<
 
 LOCAL_LINKOPTS = -package helm-cic_notation -linkpkg