Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Apr 2012 20:27:55 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Yuri <yuri@rawbw.com>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: Why make(1) doesn't support the internal macro $< ?
Message-ID:  <636B7510-BBE3-4147-B6F4-04F47438858A@gmail.com>
In-Reply-To: <4F937874.7050506@rawbw.com>
References:  <4F937874.7050506@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 21, 2012, at 8:18 PM, Yuri wrote:

> When I run 'make' on the following makefile, $@ gets printed but $< =
doesn't.
>=20
> Why?
>=20
> Yuri
>=20
>=20
> --- Makefile ---
> file-out: file-in
>        @echo "target=3D" $@ " src=3D" $<; touch $@

	You want `$>`... .IMPSRC is something else=85
Cheers,
-Garrett=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?636B7510-BBE3-4147-B6F4-04F47438858A>