Next: Failure in Make Rules, Up: Portable Make [Contents][Index]
$<
in Ordinary Make RulesPosix says that the ‘$<’ construct in makefiles can be
used only in inference rules and in the ‘.DEFAULT’ rule; its
meaning in ordinary rules is unspecified. Solaris make
for instance replaces it with the empty string. OpenBSD (3.0 and
later) make
diagnoses these uses and errors out.