월요일, 9월 25, 2006

make: automatic variables

$@
target.
$%
$<
first prerequisite.
$?
newer prerequisites.
$^
all the prerequisites. without duplication.
$+
all the prerequisites. with duplicates.
$*
stem of the target.

All variabes has two variants like:

$(@D)
directory portion of the value
$(@F)
file portion of the value

댓글 없음: