Source

meta_conv / json / tests / OMakefile

Full commit
OCAMLWARNING_IGNORE += 24
OCAMLWARNING_NON_ERROR += 24

test.out: test.out.ml ../json.cmo ../json_conv.cma ../../lib/meta_conv.cmo ../../lib/meta_conv.cmi
    $(OCamlC) -I .. -I ../../lib ../../lib/meta_conv.cmo ../json_conv.cma test.out.ml -o $@

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

%.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 $< > $@

# %.out.auto.mli: %.out.ml ../json_conv.cmi
#     $(OCAMLC) $(CAMLFLAGS) -c -i -I .. -I ../../lib  %.out.ml > $@

AutoClean()