From owner-freebsd-bugs Mon Jul 17 18:23:06 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA03953 for bugs-outgoing; Mon, 17 Jul 1995 18:23:06 -0700 Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id SAA03947 for ; Mon, 17 Jul 1995 18:23:03 -0700 Received: by dg-rtp.dg.com (5.4R2.01/dg-rtp-v02) id AA24179; Mon, 17 Jul 1995 21:22:25 -0400 Received: from lakes (lakes [192.96.3.39]) by ponds.UUCP (8.6.11/8.6.5) with ESMTP id UAA00168; Mon, 17 Jul 1995 20:39:25 -0400 Received: (from rivers@localhost) by lakes (8.6.11/8.6.9) id UAA03372; Mon, 17 Jul 1995 20:42:20 -0400 Date: Mon, 17 Jul 1995 20:42:20 -0400 From: Thomas David Rivers Message-Id: <199507180042.UAA03372@lakes> To: uriah.heep.sax.de!joerg_wunsch@dg-rtp.dg.com, freebsd-bugs@freebsd.org Subject: Re: make doesn't like lines with a tab only Sender: bugs-owner@freebsd.org Precedence: bulk joerg_wunsch@uriah.heep.sax.de wrote: > As Mats Lofkvist wrote: > > > > > > the following "Makefile" > > --SNIP-- > > foo: bar > > xyzzy -o foo bar > > > > --SNIP-- > > > > results in: > > "Makefile", line 3: Need an operator > > Fatal errors encountered -- cannot continue > > What semantics would you imply with this Makefile? Since a leading > TAB is taken to be as a line with shell commands, but there's no > command at all, i wouldn't care to accept this as a "bug"... > > (I.e., it doesn't bother me too much which error message i'm getting > for a bogus Makefile.) > > -- I didn't say anything when this was discussed, because I agreed with Joerg's approach... However, I keep running into "standard/portable" makefiles that insist on doing this. After I ran into the fifth such makefile - I've changed my mind on this - and would now argue that we need to re-instate the previous behavior, just for ease of use. - Dave Rivers -