From owner-freebsd-hackers Fri May 31 22: 5:31 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from w250.z064001178.sjc-ca.dsl.cnc.net (adsl-66.218.45.239.dslextreme.com [66.218.45.239]) by hub.freebsd.org (Postfix) with SMTP id 6813837B400 for ; Fri, 31 May 2002 22:05:28 -0700 (PDT) Received: (qmail 4913 invoked by uid 1000); 1 Jun 2002 05:05:49 -0000 Date: Fri, 31 May 2002 22:05:27 -0700 From: Jos Backus To: Dan Nelson Cc: Julian Elischer , freebsd-hackers@FreeBSD.ORG Subject: Re: Improving GNU make compatibility in BSD make (+ patch) Message-ID: <20020601050549.GB3081@lizzy.catnook.com> Reply-To: jos@catnook.com Mail-Followup-To: Dan Nelson , Julian Elischer , freebsd-hackers@FreeBSD.ORG References: <20020601015343.GA1132@lizzy.catnook.com> <20020601025457.GA1457@lizzy.catnook.com> <20020601044603.GD91922@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020601044603.GD91922@dan.emsphone.com> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, May 31, 2002 at 11:46:03PM -0500, Dan Nelson wrote: > That doesn't fix Tru64 make, which uses $> like BSD make, or Solaris > make, which has neither. In fact, based on this sample, I suggest you > submit a patch to the gmake people adding $>, which obviously is the > defacto standard :) That's a good idea, thanks. I just sent an e-mail coining the concept to help-make@gnu.org. > Automake avoids the issue entirely by simply listing the dependencies > itself, so > > > envuidgid: envuidgid.o > > $(CC) $(LDFLAGS) -o $@ $^ > > becomes > > > $(CC) $(LDFLAGS) -o $@ envuidgid.o Ugly but portable, I guess. It would be better to be able to use pattern rules instead; less duplication. -- Jos Backus _/ _/_/_/ Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos@catnook.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message