Make the makefile tell us when Intrinsics.gen is being updated.
authorReid Spencer <rspencer@reidspencer.com>
Thu, 26 Oct 2006 01:42:23 +0000 (01:42 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 26 Oct 2006 01:42:23 +0000 (01:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31191 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Makefile

index a5ac4d0287ecc419226505072f2bd966c64ce0aa..01dc08e85e5b22d8cf540237e5c092cbe6f7bdf7 100644 (file)
@@ -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