Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 1995 16:55:36 -0400 (EDT)
From:      Robert Shady <rls@hades.id.net>
To:        rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes)
Cc:        mal@algonet.se, bugs@FreeBSD.org
Subject:   Re: make doesn't like lines with a tab only
Message-ID:  <199506092055.QAA00886@hades.id.net>
In-Reply-To: <199506090827.BAA05686@gndrsh.aac.dev.com> from "Rodney W. Grimes" at Jun 9, 95 01:27:55 am

next in thread | previous in thread | raw e-mail | index | archive | help
> > the following "Makefile"
> > --SNIP--
> > foo: bar
> > <TAB>xyzzy -o foo bar
> > <TAB>
> > --SNIP--
> > 
> > results in:
> > "Makefile", line 3: Need an operator
> > Fatal errors encountered -- cannot continue
> 
> The only bug here is that your makefile is arguably wrong.  A tab indicates
> there is to be a command in this location, you have provided no command.
> 
> Many other makes ignore this arguably erronous line.  I belive POSIX says
> this shall cause an error.

That may be what POSIX says it should cause, but in real life it causes
alot of headaches.  Maybe a command line switch to ignore it would be in
order?  Defaulting, of course, to POSIX.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506092055.QAA00886>