]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_notation/Makefile
removed the need of REQUIRES in libraries Makefile, they are now queried from the...
[helm.git] / helm / ocaml / cic_notation / Makefile
index 61c3f6d08f22a9291434ff3939d863937f0fbacc..21c9a4e8c60d734e41bef88cfa18bcab3ea86aa3 100644 (file)
@@ -1,13 +1,6 @@
 
 PACKAGE = cic_notation
 NULL =
-REQUIRES = \
-       helm-cic                \
-       helm-utf8_macros        \
-       camlp4.gramlib          \
-       helm-cic_proof_checking \
-       ulex                    \
-       $(NULL)
 INTERFACE_FILES = \
        renderingAttrs.mli      \
        cicNotationUtil.mli     \
@@ -33,15 +26,19 @@ IMPLEMENTATION_FILES = \
        $(patsubst %.mli, %.ml, $(INTERFACE_FILES))     \
        $(NULL)
 
-all: test_lexer test_parser
+all: test_lexer test_parser test_dep print_grammar
 
 LOCAL_LINKOPTS = -package helm-cic_notation -linkpkg
-test: test_lexer test_parser
+test: test_lexer test_parser test_dep
 test_lexer: test_lexer.ml $(PACKAGE).cma
        $(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
 test_parser: REQUIRES += helm-cic_omdoc
 test_parser: test_parser.ml $(PACKAGE).cma
        $(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
+test_dep: test_dep.ml $(PACKAGE).cma
+       $(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
+print_grammar: print_grammar.ml $(PACKAGE).cma
+       $(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
 
 cicNotationLexer.cmo: OCAMLC = $(OCAMLC_P4)
 cicNotationParser.cmo: OCAMLC = $(OCAMLC_P4)