10 cicNotationParser.mli \
12 IMPLEMENTATION_FILES = \
13 $(patsubst %.mli, %.ml, $(INTERFACE_FILES)) \
14 $(patsubst %,%_notation.ml,$(NOTATIONS)) \
19 cicNotationLexer.cmo: cicNotationLexer.ml
21 cicNotationLexer.cmx: cicNotationLexer.ml
23 cicNotationParser.cmo: cicNotationParser.ml
25 cicNotationParser.cmx: cicNotationParser.ml
28 %_notation.cmo: %_notation.ml
30 %_notation.cmx: %_notation.ml
33 LOCAL_LINKOPTS = -package helm-cic_notation -linkpkg
34 test: test_lexer test_parser
35 test_lexer: test_lexer.ml $(PACKAGE).cma
36 $(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
37 test_parser: test_parser.ml $(PACKAGE).cma
38 $(OCAMLC) $(LOCAL_LINKOPTS) -o $@ $<
41 distclean: extra_clean
42 rm -f macro_table.dump
44 rm -f test_lexer test_parser
46 include ../Makefile.common
47 OCAMLARCHIVEOPTIONS += -linkall
49 disambiguateTypes.cmi: disambiguateTypes.mli
50 $(OCAMLC) -c -rectypes $<
51 disambiguateTypes.cmo: disambiguateTypes.ml disambiguateTypes.cmi
52 $(OCAMLC) -c -rectypes $<
53 disambiguateTypes.cmx: disambiguateTypes.ml disambiguateTypes.cmi
54 $(OCAMLOPT) -c -rectypes $<