With these changes, you can still run makellvm directly from your source tree
as follows:
% makellvm [toolname] ## looks for obj-root in default places (see below)
or
% makellvm -obj obj-root [toolname] ## specify obj-root explicitly.
With the first from, `makellvm' checks the following places in order
and uses the first one that contains the file `Makefile.config':
(1) Your src-root directory
(2) /localhome/$USER/llvm
Other choices can be added to this list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8509 91177308-0d34-0410-b5e6-96231b3b80d8
(2) Detect LLVMDIR using the LEVEL variable in Makefile.
(3) To perform #2 propertly, use the same Makefile search rules as gmake.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7228 91177308-0d34-0410-b5e6-96231b3b80d8