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





 
consciousness survives death of brain?



 
Programming is a Dark Art, and it will always be. The programmer is fighting against the two most destructive forces in the universe: entropy and human stupidity. They're not things you can always overcome with a "methodology" or on a schedule.
--Damian Conway
$$e = \sum_{n=0}^\infty \frac{1}{n!}$$

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