|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
Functions allow you to do text processing in the makefile to compute the files to operate on or the commands to use. You use a function in a function call, where you give the name of the function and some text (the arguments) for the function to operate on. The result of the function's processing is substituted into the makefile at the point of the call, just as a variable might be substituted.
8.1 Function Call Syntax How to write a function call. 8.2 Functions for String Substitution and Analysis General-purpose text manipulation functions. 8.3 Functions for File Names Functions for manipulating file names. 8.4 The
Repeat some text with controlled variation. 8.5 The
Conditionally expand a value. 8.6 The
Expand a user-defined function. 8.7 The
Return the un-expanded value of a variable. 8.8 The
Evaluate the arguments as makefile syntax. 8.9 The
Find where a variable got its value. 8.10 The
Substitute the output of a shell command. 8.11 Functions That Control Make Functions that control how make runs.