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
|
||||
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),)
|
||||
include $(TOP)/config.mak
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue