help-make
[Top][All Lists]
Advanced

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

Re: about :: sign and % sign problems


From: Paul D. Smith
Subject: Re: about :: sign and % sign problems
Date: Wed, 26 Apr 2006 08:56:00 -0400

%% John Graham-Cumming <address@hidden> writes:

  >> Another question, ";" means do nothing, why sometimes we still add some 
  >> commands after ;? (I mean, if do nothing, we should not add any commands 
  >> after ";").

  jg> No, ; doesn't mean do nothing.  ; means after this semicolon are 
  jg> commands that should be executed for this rule.  If there are no 
  jg> commands then there are no commands to execute.

Put another way, this:

    foo: ; echo foo

is just another way to write this:

    foo:
    <TAB> echo foo

and so this:

    foo: ;

is just another way to write this:

    foo:
    <TAB>

(an empty 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]