X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_disambiguation%2FMakefile;h=9c231dd873950690d04ff72ad266c7d95dcd346d;hb=5104e38ee747fd1052ce21f3f9f2ecc778d590ba;hp=bacedc25e3b6c04ca3fb672f818bbf8db02a6c51;hpb=2eb1644f907fc2319957fad1511ad98dccc89209;p=helm.git diff --git a/helm/ocaml/cic_disambiguation/Makefile b/helm/ocaml/cic_disambiguation/Makefile index bacedc25e..9c231dd87 100644 --- a/helm/ocaml/cic_disambiguation/Makefile +++ b/helm/ocaml/cic_disambiguation/Makefile @@ -1,16 +1,9 @@ -PACKAGE = cic_textual_parser2 -REQUIRES = \ - helm-tactics helm-logger helm-cic_unification helm-cic_transformations \ - helm-utf8_macros \ - ulex -NOTATIONS = logic arit tex -# NOTATIONS = logic arit -INTERFACE_FILES = \ - disambiguateTypes.mli \ - disambiguateChoices.mli \ - cicTextualLexer2.mli \ - cicTextualParser2.mli \ +PACKAGE = cic_disambiguation +NOTATIONS = number +INTERFACE_FILES = \ + disambiguateTypes.mli \ + disambiguateChoices.mli \ disambiguate.mli IMPLEMENTATION_FILES = \ $(patsubst %.mli, %.ml, $(INTERFACE_FILES)) \ @@ -18,40 +11,20 @@ IMPLEMENTATION_FILES = \ all: -cicTextualLexer2.cmo: cicTextualLexer2.ml - $(OCAMLC_P4) -c $< -cicTextualParser2.cmo: cicTextualParser2.ml - $(OCAMLC_P4) -c $< -cicTextualLexer2.cmx: cicTextualLexer2.ml - $(OCAMLOPT_P4) -c $< -cicTextualParser2.cmx: cicTextualParser2.ml - $(OCAMLOPT_P4) -c $< - -%_notation.cmo: %_notation.ml - $(OCAMLC_P4) -c $< -%_notation.cmx: %_notation.ml - $(OCAMLOPT_P4) -c $< - -LOCAL_LINKOPTS = -package helm-cic_textual_parser2 -linkpkg -test: test_lexer test_parser -test_lexer: test_lexer.ml $(PACKAGE).cma - $(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $< -test_parser: test_parser.ml $(PACKAGE).cma - $(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $< - -clean: extra_clean -distclean: extra_clean +clean: +distclean: rm -f macro_table.dump -extra_clean: - rm -f test_lexer test_parser include ../Makefile.common OCAMLARCHIVEOPTIONS += -linkall disambiguateTypes.cmi: disambiguateTypes.mli - $(OCAMLC) -c -rectypes $< + @echo " OCAMLC -rectypes $<" + @$(OCAMLC) -c -rectypes $< disambiguateTypes.cmo: disambiguateTypes.ml disambiguateTypes.cmi - $(OCAMLC) -c -rectypes $< + @echo " OCAMLC -rectypes $<" + @$(OCAMLC) -c -rectypes $< disambiguateTypes.cmx: disambiguateTypes.ml disambiguateTypes.cmi - $(OCAMLOPT) -c -rectypes $< + @echo " OCAMLOPT -rectypes $<" + @$(OCAMLOPT) -c -rectypes $<