[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new flag to show executing shell command
From: |
Paul Smith |
Subject: |
Re: new flag to show executing shell command |
Date: |
Thu, 14 May 2015 10:53:12 -0400 |
On Sat, 2015-05-09 at 12:02 +0800, chenzero wrote:
> I am a new beginner of gnu Make. in some cases, I fell that it will
> help if Make can print the executing shell command even suppressed,
> for example, to identify problem more easy.
Have you looked at the --trace flag, introduced in GNU make 4.0?
>From the NEWS file:
* New command line option: --trace enables tracing of targets. When enabled
the recipe to be invoked is printed even if it would otherwise be suppressed
by .SILENT or a "@" prefix character. Also before each recipe is run the
makefile name and linenumber where it was defined are shown as well as the
prerequisites that caused the target to be considered out of date.