Fix make rule when objdir is inside srcdir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83243 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Makefile b/test/Makefile
index 6c931e3..4955c2e 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -196,7 +196,7 @@
-e "s#@LLVMGCCDIR@#$(LLVMGCCDIR)#g" \
$(PROJ_SRC_DIR)/lit.site.cfg.in > $@
-Unit/lit.site.cfg: Unit/.dir FORCE
+Unit/lit.site.cfg: $(PROJ_OBJ_DIR)/Unit/.dir FORCE
@echo "Making LLVM unittest 'lit.site.cfg' file..."
@echo "## Autogenerated by Makefile ##" > $@
@echo "# Do not edit!" >> $@