The following reply was made to PR bin/148024; it has been noted by GNATS.

From: Garrett Wollman <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: bin/148024: Some built-in AT&T/POSIX compat make variables are
        broken
Date: Sun, 20 Jun 2010 22:46:33 -0400 (EDT)

 In article
 <mit.lcs.mail.freebsd-bugs/[email protected]>,
 [email protected] writes:
 
 >foo: bar
 >      @echo target: $@ prereq: $<
 >$ make -f ~/Makefile.prereq foo
 >target: foo prereq:
 >
 >The above invocation should have printed out:
 >
 >target: foo prereq: bar
 
 No.  $< is only defined for pattern rules.
 
 >$<
 >    In an inference rule, the $< macro shall evaluate to the filename
 >whose existence allowed the inference rule to be chosen for the target.
 >In the .DEFAULT rule, the $< macro shall evaluate to the current target
 >name. The meaning of the $< macro shall be otherwise unspecified.
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 -GAWollman
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to