9 cicNotationParser.mli \
11 IMPLEMENTATION_FILES = \
12 $(patsubst %.mli, %.ml, $(INTERFACE_FILES)) \
17 cicNotationLexer.cmo: cicNotationLexer.ml cicNotationLexer.cmi
19 cicNotationLexer.cmx: cicNotationLexer.ml cicNotationLexer.cmi
21 cicNotationParser.cmo: REQUIRES = helm-utf8_macros camlp4.gramlib
22 cicNotationParser.cmo: cicNotationParser.ml cicNotationParser.cmi cicNotationLexer.cmi
24 cicNotationParser.cmx: REQUIRES = helm-utf8_macros camlp4.gramlib
25 cicNotationParser.cmx: cicNotationParser.ml cicNotationParser.cmi cicNotationLexer.cmi
28 LOCAL_LINKOPTS = -package helm-cic_notation -linkpkg
29 test: test_lexer test_parser
30 test_lexer: test_lexer.ml $(PACKAGE).cma
31 $(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
32 test_parser: test_parser.ml $(PACKAGE).cma
33 $(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
36 distclean: extra_clean
37 rm -f macro_table.dump
39 rm -f test_lexer test_parser
41 include ../Makefile.common
42 OCAMLARCHIVEOPTIONS += -linkall
44 disambiguateTypes.cmi: disambiguateTypes.mli
45 $(OCAMLC) -c -rectypes $<
46 disambiguateTypes.cmo: disambiguateTypes.ml disambiguateTypes.cmi
47 $(OCAMLC) -c -rectypes $<
48 disambiguateTypes.cmx: disambiguateTypes.ml disambiguateTypes.cmi
49 $(OCAMLOPT) -c -rectypes $<