aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-01-16 02:20:30 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-01-16 02:20:30 +0000
commit6ca9e444ac03259aa86e13b9d1146e185f666abf (patch)
tree984d75622f77f5eb3c3e6f5ac0e98bdd84aebc82 /Makefile.common
parent5fd2ef1e43acb9bd4551a5c3d2fa125a26146c90 (diff)
Make this file capable of being used by both LLVM and its projects
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19588 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 2b0a6968d0..d33d3da9b8 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -57,7 +57,11 @@
#
# Configuration file to set paths specific to local installation of LLVM
#
+ifndef LLVM_OBJ_ROOT
include $(LEVEL)/Makefile.config
+else
+include $(LLVM_OBJ_ROOT)/Makefile.config
+endif
#
# Include all of the build rules used for making LLVM