summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorAnand Shukla <ashukla@cs.uiuc.edu>2002-09-18 04:29:30 +0000
committerAnand Shukla <ashukla@cs.uiuc.edu>2002-09-18 04:29:30 +0000
commit7c7a07e501d4e83df4ac8d0d8129c149afe4085a (patch)
treed527372c57d4cae01e4e57c18fc2083a8b77d67c /Makefile.common
parent6689b06697ddb207fd17626f3b69d393ceda3be7 (diff)
downloadllvm-7c7a07e501d4e83df4ac8d0d8129c149afe4085a.tar.gz
llvm-7c7a07e501d4e83df4ac8d0d8129c149afe4085a.tar.bz2
llvm-7c7a07e501d4e83df4ac8d0d8129c149afe4085a.tar.xz
corrected small bug, to handle when DIRS is not defined.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3810 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 5beeaa7ca7..a5ee9c80f1 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -182,10 +182,12 @@ ObjectsG = $(addprefix $(BUILD_ROOT)/Debug/,$(Objs))
# Handle the DIRS and PARALLEL_DIRS options
#---------------------------------------------------------
+ifdef DIRS
all install clean ::
$(VERB) for dir in ${DIRS}; do \
(cd $$dir; $(MAKE) $@) || exit 1; \
done
+endif
# Handle PARALLEL_DIRS
ifdef PARALLEL_DIRS