Date: Mon, 23 Apr 2012 20:47:15 +0200 From: =?windows-1252?Q?Jean-S=E9bastien_P=E9dron?= <jean-sebastien.pedron@dumbbell.fr> To: freebsd-hackers@freebsd.org Subject: Re: Why make(1) doesn't support the internal macro $< ? Message-ID: <4F95A3B3.9000209@dumbbell.fr> In-Reply-To: <636B7510-BBE3-4147-B6F4-04F47438858A@gmail.com> References: <4F937874.7050506@rawbw.com> <636B7510-BBE3-4147-B6F4-04F47438858A@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22.04.2012 05:27, Garrett Cooper wrote: > On Apr 21, 2012, at 8:18 PM, Yuri wrote: > >> When I run 'make' on the following makefile, $@ gets printed but >> $< doesn't. > > You want `$>`... .IMPSRC is something else… If the OP is used to GNU make, there's a difference: o $> in our make evaluates to all prerequisites o $< in GNU make evaluates to the first prerequisite only - -- Jean-Sébastien Pédron -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+Vo7MACgkQa+xGJsFYOlNmVQCeNjHKRKq9bBQr1e3MEuPe578k 9NMAnipvdpN26H9AgpOeClusa1bJ3tOB =13wY -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F95A3B3.9000209>