Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
programming:makefiles [2010/03/10 15:45]
cyril
programming:makefiles [2010/03/26 13:47]
cyril
Line 12: Line 12:
   * targets:   * targets:
 <code> <code>
-<target>: <list-of-dependency-targets>+<target>: <prerequisite-targets>
  <code-to-execute>  <code-to-execute>
 </code> </code>
Line 22: Line 22:
 </code> </code>
  
-  * special variables:+  * automatic variables ([[http://www.gnu.org/software/make/manual/make.html#Automatic-Variables|complete list]])::
     * ''$@'' : target     * ''$@'' : target
-    * ''$^'' : list of dependency targets +    * ''$^'' : list of requirements 
-    * ''$<'' : first dependency target (?)+    * ''$<'' : first requirement 
 +    * ''$(MAKECMDGOALS)'' : make argument 
 + 
 +  * functions ([[http://www.gnu.org/software/make/manual/make.html#Functions|complete list]]): 
 +    * ''$(subst from,to,text)'' 
 +    * ''$(filter-out <elt> <elt> <list>)''
  
   * **Mini Example**   * **Mini Example**
programming/makefiles.txt · Last modified: 2013/09/19 16:41 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0