Re: Why make(1) doesn't support the internal macro $ ?

2012-04-23 Thread Jean-Sébastien Pédron
-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

Why make(1) doesn't support the internal macro $ ?

2012-04-21 Thread Yuri
When I run 'make' on the following makefile, $@ gets printed but $ doesn't. Why? Yuri --- Makefile --- file-out: file-in @echo target= $@ src= $; touch $@ ___ freebsd-hackers@freebsd.org mailing list

Re: Why make(1) doesn't support the internal macro $ ?

2012-04-21 Thread Garrett Cooper
On Apr 21, 2012, at 8:18 PM, Yuri wrote: When I run 'make' on the following makefile, $@ gets printed but $ doesn't. Why? Yuri --- Makefile --- file-out: file-in @echo target= $@ src= $; touch $@ You want `$`... .IMPSRC is something else… Cheers,