Makefile .for and .if expansion
Kris Kennaway
kris at obsecurity.org
Sun Feb 13 13:06:54 PST 2005
On Sun, Feb 13, 2005 at 01:10:33PM +0200, Ruslan Ermilov wrote:
> > Am I missing an easier way to do this?
> >
> May I suggest the following instead:
>
> %%%
> MANLANG?= foo "" bar
> all:
> .for i in ${MANLANG:N""}
> @echo foo ${i}
> .endfor
> %%%
Thanks for your analysis and helpful suggestion.
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050213/ef3c8f5e/attachment.bin
More information about the freebsd-hackers
mailing list