Jack Jack - 1 year ago 98
Linux Question

How to print only output and not the command-line on terminal in makefile?

I want write simple "help" options to my makefile,but the problem is
for example;

echo "help options.."

when I call
on terminal,it print:

echo "help options.."
help options..

it's possible print only?:

help options..

I hope this is clear for you.

Answer Source

Prefix the command by '@', as in:

    @echo "help options.."

GNU Make has a very good manual which explains this.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download