diff options
author | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-09-18 04:29:30 +0000 |
---|---|---|
committer | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-09-18 04:29:30 +0000 |
commit | 7c7a07e501d4e83df4ac8d0d8129c149afe4085a (patch) | |
tree | d527372c57d4cae01e4e57c18fc2083a8b77d67c /Makefile.common | |
parent | 6689b06697ddb207fd17626f3b69d393ceda3be7 (diff) |
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.common | 2 |
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 |