Fix a race condition in the makefile andrew reported
authorChris Lattner <sabre@nondot.org>
Thu, 20 Jul 2006 19:08:27 +0000 (19:08 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 20 Jul 2006 19:08:27 +0000 (19:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29227 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Makefile

index af3ae403b93d0d6567716071fab5a569d7568022..a5ac4d0287ecc419226505072f2bd966c64ce0aa 100644 (file)
@@ -19,7 +19,7 @@ GENFILE:=$(PROJ_SRC_ROOT)/include/llvm/Intrinsics.gen
 INTRINSICTD  := $(PROJ_SRC_ROOT)/include/llvm/Intrinsics.td
 INTRINSICTDS := $(wildcard $(PROJ_SRC_ROOT)/include/llvm/Intrinsics*.td)
 
-$(ObjDir)/Intrinsics.gen.tmp: $(INTRINSICTDS) $(TBLGEN)
+$(ObjDir)/Intrinsics.gen.tmp: $(ObjDir)/.dir $(INTRINSICTDS) $(TBLGEN)
        $(Echo) Building Intrinsics.gen.tmp from Intrinsics.td
        $(Verb) $(TableGen) $(INTRINSICTD) -o $@ -gen-intrinsic