On 2015-05-14 22:53, Paul Smith wrote:
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.



I do not notice that in 4.0, it has --trace flag. I only check 3.81 version.
Thanks for your info!

Regards,
chenzero



_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to