Reflecting commit 14958 on version/4.02:

Missing dependencies on the pack, causing parallel make to fail.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14959 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 2014-06-05 08:33:24 +00:00
parent d6bfdc7002
commit 3946f47972
1 changed files with 5 additions and 0 deletions

View File

@ -73,6 +73,7 @@ EXTRA_CMO=\
PACK_CMX=$(PACK_CMO:.cmo=.cmx)
EXTRA_CMX=$(EXTRA_CMO:.cmo=.cmx)
EXTRA_CMI=$(EXTRA_CMO:.cmo=.cmi)
INSTALL_LIB=\
ocamlbuildlib.cma \
@ -197,6 +198,10 @@ clean::
depend: beforedepend
$(OCAMLDEP) *.mli *.ml > .depend
$(EXTRA_CMI): ocamlbuild_pack.cmi
$(EXTRA_CMO): ocamlbuild_pack.cmo ocamlbuild_pack.cmi
$(EXTRA_CMX): ocamlbuild_pack.cmx ocamlbuild_pack.cmi
include .depend
.PHONY: all allopt clean beforedepend