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





 
which seems more true?


 
"Being a robot’s great, but we don't have emotions, and sometimes that makes me very sad."
--Bender, Futurama

L:0 I:0 A:0

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