Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 1995 01:27:55 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        mal@algonet.se (Mats Lofkvist)
Cc:        bugs@FreeBSD.org
Subject:   Re: make doesn't like lines with a tab only
Message-ID:  <199506090827.BAA05686@gndrsh.aac.dev.com>
In-Reply-To: <9506082315.AA04679@sophocles.> from "Mats Lofkvist" at Jun 9, 95 01:15:40 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.

-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                   Custom computers for FreeBSD



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