Skip to content

Commit

Permalink
* (bug 3692) Makefile infinitely recurses if no targets are defined
Browse files Browse the repository at this point in the history
  • Loading branch information
timangus committed Jul 5, 2008
1 parent 1e21a3e commit 956ce9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 956ce9b

Please sign in to comment.