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
programming:makefiles [2010/03/10 15:45]
cyril
programming:makefiles [2013/09/19 16:41] (current)
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 <list>, <list>)''
  
   * **Mini Example**   * **Mini Example**
programming/makefiles.1268235935.txt.gz · Last modified: 2013/09/19 16:43 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0