Source

meta_conv / json / tests / OMakefile

Full commit
CAMLFLAGS= -w A-24 -annot -bin-annot

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

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

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

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

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

AutoClean()