build: Add a generated Version.inc file instead of duplicating information.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106863 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Makefile b/Makefile
index d98449e..7a14ed2 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,11 @@
 ifdef CLANG_VENDOR
 CPP.Flags += -DCLANG_VENDOR='"$(CLANG_VENDOR) "'
 endif
+ifdef CLANG_VERSION
+CPP.Flags += \
+	-DCLANG_VERSION='"$(CLANG_VERSION)"'
+	-DCLANG_VERSION='"$(CLANG_VERSION)"'
+endif
 
 # Disable -fstrict-aliasing. Darwin disables it by default (and LLVM doesn't
 # work with it enabled with GCC), Clang/llvm-gc don't support it yet, and newer
@@ -74,7 +79,7 @@
 
 clean::
 	@ $(MAKE) -C test clean
-	
+
 libs-only: all
 
 tags::