[EMAIL PROTECTED] 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 $.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus