Thanks Paul!
Cool answer! :-)
Do you also know the difference between :: and :? I can not understand what related parts of GNU make manual is talking about and there is also no samples in the manual dealing with this point.
regards,
George
"Paul D. Smith" <[EMAIL PROTECTED]> wrote:
"Paul D. Smith" <[EMAIL PROTECTED]> wrote:
%% 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:echo foo
and so this:
foo: ;
is just another way to write this:
foo:
(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
Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2ยข/min with Yahoo! Messenger with Voice.
_______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
