Alex Rivera | Logout

ignoring at (@) symbol in makefiles

Asked 2010-10-05T08:15:18.573
15

In makefiles, a line prefixed with an at symbols disables the print of the output. I have a makefile where every line is prefixed with an at, but for debug I need to see what's going on. Is there a way to tell make to ignore the at and output the line ? the debug is excessive, and the -n option prints them, but does not do anything (it's for dry run)

Edit
Report

1 Answer

3

In GNU Make, this isn't possible out of the box. Having a Makefile which is non-configurably completely silent is simply bad practice. Removing the @ signs and running with -s is the easiest way to get a silent build (except for possible echo commands).

answered 2010-10-05T09:24:50.687

Your Answer