diff --git a/Makefile b/Makefile
index 9883857d274a05aa0f238c61c5062ee35edcde2f..1668a9d2777578fe6d3149774945eaedd101e369 100644
--- a/Makefile
+++ b/Makefile
@@ -1423,9 +1423,9 @@ $(foreach file,$(LONELY_TESTS_ML_FILES),\
 $(foreach file,$(LONELY_TESTS_ML_FILES),\
   $(eval $(file:%.ml=%.cmxs): OFLAGS+=-I $(dir $(file))))
 .PRECIOUS: $(LONELY_TESTS_ML_FILES:%.ml=%.cmx) \
-           $(LONELY_TESTS_DYN_FILES:%.ml=%.cmxs) \
-           $(LONELY_TESTS_BYTE_FILES:%.ml=%.cmo) \
-           $(LONELY_TESTS_BYTE_FILES:%.ml=%.cmi)
+           $(LONELY_TESTS_ML_FILES:%.ml=%.cmxs) \
+           $(LONELY_TESTS_ML_FILES:%.ml=%.cmo) \
+           $(LONELY_TESTS_ML_FILES:%.ml=%.cmi)
 
 bin/ocamldep_transitive_closure: devel_tools/ocamldep_transitive_closure.ml
 	$(OCAMLOPT) -package ocamlgraph -package str -linkpkg -o $@ $<