llvm.org GIT mirror llvm / ab4456f
Fix srcdir <> objdir builds with ocaml 2.10. Downrev versions don't care whether 'dir' exists in 'ocamldep -I dir ...', but recent ones demand that it actually exists. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42245 91177308-0d34-0410-b5e6-96231b3b80d8 Gordon Henriksen 13 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
8787 $(ObjDir)/%.ml: $(PROJ_SRC_DIR)/%.ml $(ObjDir)/.dir
8888 $(Verb) $(CP) -f $< $@
8989
90 $(ObjDir)/$(LIBRARYNAME).ocamldep: $(OcamlSources) $(OcamlHeaders)
90 $(ObjDir)/$(LIBRARYNAME).ocamldep: $(OcamlSources) $(OcamlHeaders) \
91 $(OcamlDir)/.dir $(ObjDir)/.dir
9192 $(Verb) $(OCAMLDEP) $(OCAMLCFLAGS) $(OcamlSources) $(OcamlHeader) > $@
9293
9394 -include $(ObjDir)/$(LIBRARYNAME).ocamldep