GNU Make cheatsheet

Variables
$@ Target filename.
$% Filename element of archive memeber specification.
$< Filename of first prerequisite.
$? All prerequisites, newer than target, separated by spaces.
$^ All prerequisites, without duplicates, spearated by spaces.
$+ All prerequisites, with duplicates, spearated by spaces.
$* Stem of target files or without the suffix.