[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About gnumake
From: |
Paul D. Smith |
Subject: |
Re: About gnumake |
Date: |
22 Sep 2000 09:56:10 -0400 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
%% address@hidden 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 <address@hidden> 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
- About gnumake, Max_Cao, 2000/09/22
- Re: About gnumake,
Paul D. Smith <=