* (bug 3692) Makefile infinitely recurses if no targets are defined

This commit is contained in:
Tim Angus committed 2008-07-05 22:34:23 +00:00
1 parent 1e21a3e258
commit 956ce9bf12
1 file changed
+2
+2
View File
@@ -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