aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-10-26 01:42:23 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-10-26 01:42:23 +0000
commitb43f00b3f5f7a1669c1a619a914803f45034a3b2 (patch)
treea441e13c5d237586bc7a6d34823bc98ca75ebbbf
parentaa596f3568a1b04ce33177959da95a9a58e65ff4 (diff)
Make the makefile tell us when Intrinsics.gen is being updated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31191 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/VMCore/Makefile b/lib/VMCore/Makefile
index a5ac4d0287..01dc08e85e 100644
--- a/lib/VMCore/Makefile
+++ b/lib/VMCore/Makefile
@@ -24,7 +24,9 @@ $(ObjDir)/Intrinsics.gen.tmp: $(ObjDir)/.dir $(INTRINSICTDS) $(TBLGEN)
$(Verb) $(TableGen) $(INTRINSICTD) -o $@ -gen-intrinsic
$(GENFILE): $(ObjDir)/Intrinsics.gen.tmp
- $(Verb) $(CMP) -s $@ $< || $(CP) $< $@
+ $(Verb) $(CMP) -s $@ $< || ( $(CP) $< $@ && \
+ $(EchoCmd) Updated Intrinsics.gen because Intrinsics.gen.tmp \
+ changed significantly. )
install-local:: $(GENFILE)
$(Echo) Installing $(PROJ_includedir)/llvm/Intrinsics.gen