Fix make rule when objdir is inside srcdir.
authorTorok Edwin <edwintorok@gmail.com>
Fri, 2 Oct 2009 09:30:03 +0000 (09:30 +0000)
committerTorok Edwin <edwintorok@gmail.com>
Fri, 2 Oct 2009 09:30:03 +0000 (09:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83243 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile

index 6c931e3..4955c2e 100644 (file)
@@ -196,7 +196,7 @@ lit.site.cfg: site.exp
             -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!" >> $@