Dave Horner's Website - Yet another perspective on things...
Home Tech Talk Programming Makefiles
79 guests
Rough Hits : 2893374
moon and stars
how did u find my site?





 
what's a matter












 
There is no honest way to explain it because the only people who really know where it is are the ones who have gone over. But the edge is still Out there. Or maybe it's In.
--Hunter Stockton Thompson
0, 1, 1, 2, 3, 5, 8, 13, 21, 34,...
xn = xn-1 + xn-2

Makefiles

Tuesday, 19 April 2005 21:56
The make utility automatically determines which pieces of a large program need to be recompiled, and issues commands to recompile them.
GNU `make'
Macro Description
$@ Current target's full name, including path, base name, and file name extension, as currently specified.
$$@ Current target's full name, including path, base name, and file name extension, as currently specified.

Valid only as a dependent in a dependency.

$* Current target's path and base name without a file name extension.
$** All dependents of the current target.
$? All dependents with a later time stamp than the current target.
$< Dependent file with a later time stamp than the current target.

Valid only in commands in inference rules.


$@ - Your target
$^ - All of your dependencies
$< - Your first dependency
$? - All dependencies newer than the target
$* - The stem of an implicit rule match (a.c -> a)
 echo $$bash_variable
hoelz.ro - Makefile Tips and Tricks

< Prev  Next >
Last Updated on Tuesday, 17 September 2013 07:39