%% Noel Yap <[EMAIL PROTECTED]> writes:
ny> Hmmm, what's the difference? Or, which info file describes the
ny> differences?
There is no difference, except that when you use ${} make matches on
closing braces whereas when you use $() make matches on closing
parenthesis.
Since the Bourne shell case statement contains unmatched right
parenthesis, it doesn't work so well to use the $() format:
$(shell case foo in foo) echo match ;; esac)
^ ^
matches the opening paren
But:
${shell case foo in foo) echo match ;; esac}
^
doesn't match the opening brace.
This is described in the GNU make manual section "Basics of Variable
References".
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make