Re: [PATCH 2/2] Makefile: work around ksh's failure to handle missing list argument to for loop
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Jul 5, 2010, 09:15 UTC
- Message-ID
- <4C31A298.1030005@viscovery.net>
- In-Reply-To
- <4C319478.4070903@drmicha.warpmail.net>
Am 7/5/2010 10:14, schrieb Michael J Gruber:
> BTW: Is the $$var gmake specific?
No. $ is a (special?) make variable that contains only a dollar sign. To expand the variable in the Makefile, you have to write $$ (like for any other Makefile variable whose name has only a single character, like $@, $<, etc). As a result, you get a single dollar sign in the shell command text. :-)
-- Hannes