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





 
we're made of





 
Those who do not find time for exercise now will have to find time for illness.
--The Earl of Derby, 1873
appreciate the information? drop me a line, share, or +1.

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