summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-06-25 17:33:46 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-06-25 17:33:46 +0000
commita510767963e6bf04f0bc15de057f6bafa0aedab5 (patch)
treef859410ef37c427ffd82f259ca0386b09151984e /Makefile
parentb24e199fbd17af780ab000c5862d191e4daffc0f (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d98449edd8..7a14ed2de5 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,11 @@ CPP.Flags += -I$(PROJ_SRC_DIR)/$(CLANG_LEVEL)/include -I$(PROJ_OBJ_DIR)/$(CLANG_
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 @@ report::
clean::
@ $(MAKE) -C test clean
-
+
libs-only: all
tags::