1
0
Fork 0

Makefile: Add a comment with an option to debug the Makefile

This commit is contained in:
Detlef Riekenberg 2022-04-27 20:25:23 +02:00
parent 5a3d1024d9
commit 9ac128c0bd
1 changed files with 6 additions and 0 deletions

View File

@ -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