From 7c7a07e501d4e83df4ac8d0d8129c149afe4085a Mon Sep 17 00:00:00 2001 From: Anand Shukla Date: Wed, 18 Sep 2002 04:29:30 +0000 Subject: 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 --- Makefile.rules | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.rules') diff --git a/Makefile.rules b/Makefile.rules index 5beeaa7ca7..a5ee9c80f1 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -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 -- cgit v1.2.3