help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to echo something


From: Paul D. Smith
Subject: Re: how to echo something
Date: Fri, 7 Mar 2003 13:56:30 -0500

%% Nehal <address@hidden> writes:

  n> all:
  n>    @for i in $(MODULES); do \
  n>    gcc this; \
  n>    echo that; \
  n>    done;

  n> the '@' makes it supress output, so therefore the output
  n> of 'echo that' is not displayed,

That's not true.  The "@" suppresses output that _make_ generates;
basically it doesn't print the rule before it runs the rule.

It in no way suppresses output that your build script generates itself
(such as messages generated by your compiler or the echo command).

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

[Prev in Thread] Current Thread [Next in Thread]