summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--engines/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/Makefile.in b/engines/Makefile.in
index aaffe1e8dd..4c8ca99c06 100644
--- a/engines/Makefile.in
+++ b/engines/Makefile.in
@@ -10,7 +10,7 @@ CFLAG=-g
MAKEFILE= Makefile
AR= ar r
-RECURSIVE_MAKE=[ -z "$(ENGDIRS)" ] || for i in $(ENGDIRS) ; do \
+RECURSIVE_MAKE= for i in $${ENGDIRS:-$(ENGDIRS)} ; do \
(cd $$i && echo "making $$target in $(DIR)/$$i..." && \
$(MAKE) -e TOP=../.. DIR=$$i $$target ) || exit 1; \
done;