Commits

camlspotter committed 85e7227

build fix

Comments (0)

Files changed (1)

json/tests/OMakefile

 CAMLFLAGS= -w A-24 -annot -bin-annot
 
+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 $@
+
+.DEFAULT: test.out.ml test.out # test.out.auto.mli
+
 %.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
+# %.out.auto.mli: %.out.ml ../json_conv.cmi
+#     $(OCAMLC) $(CAMLFLAGS) -c -i -I .. -I ../../lib  %.out.ml > $@
 
 AutoClean()