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





 
what's a matter












 
There is grandeur in this view of life, with its several powers, having been originally breathed into a few forms or into one; and that, whilst this planet has gone cycling on according to the fixed law of gravity, from so simple a beginning endless forms most beautiful and most wonderful have been, and are being, evolved.
--Charles Robert Darwin
$$\cos x = \sum\limits_{n = 0}^\infty {\frac{{\left( { - 1} \right)^n x^{2n} }}{{\left( {2n} \right)!}}}$$

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