Thank you very much John!
What means "::" (I read related parts from GNU make and still confused)? What is the difference between "::" and ":"?
> if there was
> a command after the ; it would be executed when this rule ran).
> a command after the ; it would be executed when this rule ran).
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 ";").
have a good day,
George
John Graham-Cumming <[EMAIL PROTECTED]> wrote:
Lin George wrote:
> % :: $(Foo);
Means: in order to build any file (that's what the % matches) from the
prerequisites $(Foo) do nothing (that's what the ; means---if there was
a command after the ; it would be executed when this rule ran).
> %.test :: ;
In order to build anything that ends .test do nothing.
John.
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
