%% [EMAIL PROTECTED] writes:
mc> I'm using gnumake and find that arithmetic expression "$(())" is
mc> invalid in makefile ,while it's valid in shell.The same thing
mc> happened to "declare" as well.Have you encountered this problem?
If you want to use $ in a shell script, you have to escape it ("$$"),
otherwise make expands it as if it were a make variable. Use "$$(())".
See the GNU make manual for details.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"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