[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gmake 3.80 vs 3,81 another question
From: |
Paul D. Smith |
Subject: |
Re: gmake 3.80 vs 3,81 another question |
Date: |
Tue, 31 Oct 2006 09:00:55 -0500 |
On Tuesday, 31 October, Bhaskar G (address@hidden) wrote:
> test.txt::
> @$(RM) $@;
> for i in $(TEST) ; \
> do \
> if [ -d $$i ] ; then \
> $(ECHO) "`basename $$comp` $$comp">> $@; \
> fi ;\
> done
What's $$comp? Do you mean $$i here?
> The same implementation works fine with gmake 3.80, but when using gmake
> 3.81 I get the following error.
> Syntax error: end of file unexpected
Is that the exact error message you get, letter for letter? GNU make won't
print out anything like "Syntax error"; no such message exists in the code.
That means it's not GNU make that's printing this message.
When asking for help please be sure to include EXACTLY the command you
entered and the messages you received, especially error messages. By far
the best way is to cut and paste them into your email to avoid
transcription errors.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> 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