mirror of
https://github.com/UberGames/ioef.git
synced 2024-12-18 08:31:16 +00:00
* (bug 3692) Makefile infinitely recurses if no targets are defined
This commit is contained in:
parent
1e21a3e258
commit
956ce9bf12
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -964,7 +964,9 @@ targets: makedirs
|
||||||
echo " $$i"; \
|
echo " $$i"; \
|
||||||
done
|
done
|
||||||
@echo ""
|
@echo ""
|
||||||
|
ifneq ($(TARGETS),)
|
||||||
@$(MAKE) $(TARGETS) V=$(V)
|
@$(MAKE) $(TARGETS) V=$(V)
|
||||||
|
endif
|
||||||
|
|
||||||
makedirs:
|
makedirs:
|
||||||
@if [ ! -d $(BUILD_DIR) ];then $(MKDIR) $(BUILD_DIR);fi
|
@if [ ! -d $(BUILD_DIR) ];then $(MKDIR) $(BUILD_DIR);fi
|
||||||
|
|
Loading…
Reference in a new issue