aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/Makefile
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-06-08 20:34:18 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-06-08 20:34:18 +0000
commitafed099bd2e759efd4bb63fdc525d3445f94cc13 (patch)
tree614ee41fe363b5cd45cec8876dd7d68db101ba4c /lib/Lex/Makefile
parent7a4026211750cf4f387251956a8ade2a19b28998 (diff)
Makefile: Switch Clang Makefiles to always include the top-level Clang Makefile.
- This eliminates most dependencies on how Clang is installed relative to LLVM. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Makefile')
-rw-r--r--lib/Lex/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Lex/Makefile b/lib/Lex/Makefile
index bd3c7a872d..98452146c0 100644
--- a/lib/Lex/Makefile
+++ b/lib/Lex/Makefile
@@ -11,8 +11,8 @@
#
##===----------------------------------------------------------------------===##
-LEVEL = ../../../..
-include $(LEVEL)/Makefile.config
+CLANG_LEVEL := ../..
+include $(CLANG_LEVEL)/../../Makefile.config
LIBRARYNAME := clangLex
BUILD_ARCHIVE = 1
@@ -23,5 +23,5 @@ endif
CPP.Flags += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
-include $(LEVEL)/Makefile.common
+include $(CLANG_LEVEL)/Makefile