|
From: | red floyd |
Subject: | Re: Just a quick question |
Date: | Wed, 02 Jan 2008 17:38:34 GMT |
User-agent: | Thunderbird 2.0.0.9 (Windows/20071031) |
parag_paul@hotmail.com wrote:
hi All I saw that one of the for loops in a make file looks like this @for dir in ${DIRS}; do \ echo making for directory $${dir}; \ make -C $${dir} Why is there two $$ here
Because you want the $ to be interpreted by the shell, not the makefile.If you used ${dir}, the makefile would have interpreted it. The first $ escapes the second $.
[Prev in Thread] | Current Thread | [Next in Thread] |