Source

meta_conv / ocaml / tests / OMakefile

Full commit
OCAMLWARNING_IGNORE += 24
OCAMLWARNING_NON_ERROR += 24

%.out.ml: %.ml ../../pa/pa_meta_conv.cma 
    camlp4o -I $(OCAMLFIND_QUERY type_conv) pa_type_conv.cma ../../pa/pa_meta_conv.cma  -printer Camlp4OCamlPrinter $< > $@

%.out.mli: %.mli ../../pa/pa_meta_conv.cma 
    camlp4o -I $(OCAMLFIND_QUERY type_conv) pa_type_conv.cma ../../pa/pa_meta_conv.cma  -printer Camlp4OCamlPrinter $< > $@

OCAMLPACKS += compiler-libs.common

test.out: test.out.ml ../ocaml.cmo ../../lib/meta_conv.cmo ../../lib/meta_conv.cmi ../ocaml_conv.cma 
    $(OCamlC) -I .. -I ../../lib ../../lib/meta_conv.cmo ocamlcommon.cma ../ocaml_conv.cma test.out.ml -o $@

%.out.auto.mli: %.out.ml ../ocaml.cmi ../ocaml_conv.cmi
    $(OCamlC) -c -i -I .. -I ../../lib  test.out.ml > $@

.DEFAULT: test.out.ml test.out test.out.auto.mli

AutoClean()