From 956ce9bf12a661689d5bc4304d7af57f0f358b4d Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 5 Jul 2008 22:34:23 +0000 Subject: [PATCH] * (bug 3692) Makefile infinitely recurses if no targets are defined --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 3ca4eb18..1c772563 100644 --- a/Makefile +++ b/Makefile @@ -964,7 +964,9 @@ targets: makedirs echo " $$i"; \ done @echo "" +ifneq ($(TARGETS),) @$(MAKE) $(TARGETS) V=$(V) +endif makedirs: @if [ ! -d $(BUILD_DIR) ];then $(MKDIR) $(BUILD_DIR);fi