From: Richard W.M. Jones Date: Tue, 13 Mar 2012 17:58:27 +0000 (+0000) Subject: Rebuild tests when library changes. X-Git-Tag: 0.7.0~3 X-Git-Url: http://git.annexia.org/?p=whenjobs.git;a=commitdiff_plain;h=2c4a2cfe64541fe32933a84f1539655b3611d2e5 Rebuild tests when library changes. --- diff --git a/tests/parsing/Makefile.am b/tests/parsing/Makefile.am index 3f4f17c..04681cb 100644 --- a/tests/parsing/Makefile.am +++ b/tests/parsing/Makefile.am @@ -44,7 +44,7 @@ test_load: test_load.cmo ../../lib/whenlib.cma # Rules for all OCaml files. %.cmi: %.mli $(OCAMLFIND) ocamlc $(OCAMLCFLAGS) $(PP) -c $< -o $@ -%.cmo: %.ml +%.cmo: %.ml ../../lib/whenlib.cma $(OCAMLFIND) ocamlc $(OCAMLCFLAGS) $(PP) -c $< -o $@ #%.cmx: %.ml # $(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) $(PP) -c $< -o $@