Makefile: Add a comment with an option to debug the Makefile
This commit is contained in:
parent
5a3d1024d9
commit
9ac128c0bd
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -8,6 +8,12 @@ ifndef TOP
|
||||||
INCLUDED = no
|
INCLUDED = no
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Uncomment the next two commands to allow debug this Makefile
|
||||||
|
# When enabled, GNU make will no longer execute commands directly.
|
||||||
|
# All build commands will be executed using the shell. This needs more time
|
||||||
|
#OLD_SHELL := $(SHELL)
|
||||||
|
#SHELL = $(info Building $* $(if $<, (from $<))$(if $?, ($? newer)))$(OLD_SHELL)
|
||||||
|
|
||||||
ifeq ($(findstring $(MAKECMDGOALS),clean distclean),)
|
ifeq ($(findstring $(MAKECMDGOALS),clean distclean),)
|
||||||
include $(TOP)/config.mak
|
include $(TOP)/config.mak
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue