On Tue, 8 Aug 2006, Rajanikanth T - TLS, Bangalore wrote:
Hi all,
I got fatal error for the below code.. What could be the problem?? Is it a
version problem?? Pease some one help me
#start
All:
@echo testing...
Ifdef DEBUG
@echo debug enabled
Endif
#end
Error I got is->
[EMAIL PROTECTED]:pts/11<55>make
make: Fatal error in reader: Makefile, line 4: Unexpected end of line seen
1. Make sure that command lines begin with tab characters instead of spaces.
2. The directives should be spelled ifdef and endif instead of Ifdef and
Endif. i.e. they are case-sensitive. Hopefully this is just your mail
editor and not in your original makefile.
3. You should remove any blank lines within a rule, i.e. between the All:
and the endif, because they can sometimes have unexpected consequences.
4. Please indicate your version of make, by typing make -v .
Thanks,
Lee
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make