what is mean by @ in the makefile gnu make?

54 Views Asked by At

For example if i write

       ->@ %echo "Hello"

it print Hello in the console

       ->Hello  

what is @ in the case and %?

1

There are 1 best solutions below

0
On

By default GNU Make print the command before executing it (i.e. recipe echoing), using @ you'll hide it like set -x/set +x in bash script...

src: https://www.gnu.org/software/make/manual/make.html#Echoing