Make Automatic Variables Cheatsheet
I can never remember all of the automatic variables
that can be used in a Makefile
so here is a table of them.
Variable | Description |
---|---|
$@ |
File name of the target of the rule |
$% |
Target member name, when the target is an archive member |
$< |
Name of the first prerequisite |