Date: Fri, 7 Feb 2014 20:34:17 +0400 From: Lev Serebryakov <lev@FreeBSD.org> To: freebsd-hackers@freebsd.org Subject: Is it possible to get make variable without recursive expansion? Message-ID: <12310461351.20140207203417@serebryakov.spb.ru>
next in thread | raw e-mail | index | archive | help
Hello, Freebsd-hackers. Suppose, I have in my Makefile such construction: A=xxx B=yyy ANB=${A} and ${B} Is it possible to get value of ANB without recursive expansion, i.e. string "${A} and ${B} and" in this case? I know, that all expansions are done at last moment (If I don't use ":=" operator), but is it possible to block second- and more-level expansion? I need to output "ANB=${ANB}" construction to external file without further expansion... -- // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12310461351.20140207203417>