%% John Graham-Cumming <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>          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


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

Reply via email to