diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-06-25 17:33:46 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-06-25 17:33:46 +0000 |
commit | a510767963e6bf04f0bc15de057f6bafa0aedab5 (patch) | |
tree | f859410ef37c427ffd82f259ca0386b09151984e /Makefile | |
parent | b24e199fbd17af780ab000c5862d191e4daffc0f (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-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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:: |