diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-06-08 20:34:18 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-06-08 20:34:18 +0000 |
commit | afed099bd2e759efd4bb63fdc525d3445f94cc13 (patch) | |
tree | 614ee41fe363b5cd45cec8876dd7d68db101ba4c /examples/clang-interpreter | |
parent | 7a4026211750cf4f387251956a8ade2a19b28998 (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 'examples/clang-interpreter')
-rw-r--r-- | examples/clang-interpreter/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/clang-interpreter/Makefile b/examples/clang-interpreter/Makefile index 397a1f9584..6683a57c3b 100644 --- a/examples/clang-interpreter/Makefile +++ b/examples/clang-interpreter/Makefile @@ -7,7 +7,7 @@ # ##===----------------------------------------------------------------------===## -LEVEL = ../../../.. +CLANG_LEVEL := ../.. TOOLNAME = clang-interpreter CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include @@ -19,7 +19,7 @@ TOOL_NO_EXPORTS = 1 # Include this here so we can get the configuration of the targets that have # been configured for construction. We have to do this early so we can set up # LINK_COMPONENTS before including Makefile.rules -include $(LEVEL)/Makefile.config +include $(CLANG_LEVEL)/../../Makefile.config LINK_COMPONENTS := jit interpreter nativecodegen bitreader bitwriter ipo \ selectiondag asmparser @@ -27,4 +27,4 @@ USEDLIBS = clangFrontend.a clangDriver.a clangCodeGen.a clangSema.a \ clangChecker.a clangAnalysis.a clangRewrite.a clangAST.a \ clangParse.a clangLex.a clangBasic.a -include $(LLVM_SRC_ROOT)/Makefile.rules +include $(CLANG_LEVEL)/Makefile |