what is mean by @ in the makefile gnu make?

40 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 answers

0
Mizux 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