> > Another option is to remove the '@', instead (this is almost exactly
> > how it is specified in the Makefile for the Linux kernel) -
> >
> > [...]
> You could just do it like this...
>
> ifeq ($(SHOW_CMD),1)
>    Q =
> else
>    Q = @
> endif
>
> all:
>       @echo hey
>       $(Q)blah blah blah

Well, that was indeed simple. Thank you very much!

-- 
 Martin Willers


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to