[llvm-commits] CVS: llvm/lib/VMCore/Makefile

Reid Spencer reid at x10sys.com
Wed Oct 25 18:42:37 PDT 2006



Changes in directory llvm/lib/VMCore:

Makefile updated: 1.18 -> 1.19
---
Log message:

Make the makefile tell us when Intrinsics.gen is being updated.


---
Diffs of the changes:  (+3 -1)

 Makefile |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm/lib/VMCore/Makefile
diff -u llvm/lib/VMCore/Makefile:1.18 llvm/lib/VMCore/Makefile:1.19
--- llvm/lib/VMCore/Makefile:1.18	Thu Jul 20 14:08:27 2006
+++ llvm/lib/VMCore/Makefile	Wed Oct 25 20:42:23 2006
@@ -24,7 +24,9 @@
 	$(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






More information about the llvm-commits mailing list