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: Lin George
Subject: Re: about :: sign and % sign problems
Date: Wed, 26 Apr 2006 06:06:26 -0700 (PDT)

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" <address@hidden> wrote:
%% John Graham-Cumming 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 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.
reply via email to

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