- Environment, Automatic, and Predefined Variables
Automatic Variables
***************************************
$@ The filename of a rule's target
$< The name of the first dependency in a rule
$^ Space-delimited list of all the dependencies in a rule
$? Space-delimited list of all the dependencies in a rule that are newer than the target
$(@D) The directory part of a target filename, if the target is in a subdirectory
$(@F) The filename part of a target filename, if the target is in a subdirectory
****************************************
Predefined Varialbes For Program Names and Flags
************************************************
AR Archive-maintenance programs; default value = ar
AS Program to do assembly; default value = as
CC Program for compliling C pr