Add DEBUG_MAKEFILE to... debug the Makefile

This commit is contained in:
Tim Angus 2013-03-22 13:42:11 +00:00
parent 8d70929d12
commit e4151c1d55

View file

@ -1165,8 +1165,10 @@ targets: makedirs
done done
@echo "" @echo ""
ifneq ($(TARGETS),) ifneq ($(TARGETS),)
ifndef DEBUG_MAKEFILE
@$(MAKE) $(TARGETS) V=$(V) @$(MAKE) $(TARGETS) V=$(V)
endif endif
endif
makedirs: makedirs:
@if [ ! -d $(BUILD_DIR) ];then $(MKDIR) $(BUILD_DIR);fi @if [ ! -d $(BUILD_DIR) ];then $(MKDIR) $(BUILD_DIR);fi