Make $ @ $ ^ $ <

Source: Internet
Author: User

Automatic variables automatically extract a series of files defined in the pattern until all files in the pattern are completed. This automation variable should only appear in the Rule command.

The following describes all automation variables:

[Email protected]

Indicates the target file set in the rule.. In a pattern rule, if there are multiple targets, "[email protected]" is the set that matches the schema definition in the target.

 

$ %

Only when the target is in the function library fileIndicates the name of the target Member in the rule. For example, if a target is "foo. A (Bar. o) ", then," $ % "is" bar. O "," [email protected] "is" foo. A ". If the target file is not a function library file ([. A] in UNIX and [. Lib] in Windows), the value is null.

 

$ <

Name of the first target in the dependency target. If the dependency target is defined in the mode ("%"), "$ <" is a series of file sets that conform to the mode. Note that it is obtained one by one.

 

$?

All sets of New dependent targets. Separated by spaces.

 

$ ^

Set of all dependent targets. Separated by spaces. If there are multiple duplicate dependency targets, the variable will remove the duplicate dependency targets and retain only one copy.

 

$ +

This variable is similar to "$ ^" and is also a set of all dependent targets. It does not remove repeated dependency targets.

 

ALL: Foo. O Bar. O Foo. o

[Email protected]: All

$ ^: Foo. O Bar. o

$ +: Foo. O Bar. O Foo. o

$ <: Foo. o

 

Similar

[Email protected]: $ ^

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.