From owner-freebsd-questions@FreeBSD.ORG Fri Feb 4 09:22:35 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13E6B16A4CE; Fri, 4 Feb 2005 09:22:35 +0000 (GMT) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78BD143D2F; Fri, 4 Feb 2005 09:22:34 +0000 (GMT) (envelope-from tedm@toybox.placo.com) Received: from tedwin2k (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) j149K4j86722; Fri, 4 Feb 2005 01:20:04 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Jonathon McKitrick" , "Greg 'groggy' Lehey" Date: Fri, 4 Feb 2005 01:20:02 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <20050203151142.GB96435@dogma.freebsd-uk.eu.org> Importance: Normal cc: freebsd-questions@freebsd.org Subject: RE: Docs for Berkeley Make? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2005 09:22:35 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Jonathon > McKitrick > Sent: Thursday, February 03, 2005 7:12 AM > To: Greg 'groggy' Lehey > Cc: freebsd-questions@freebsd.org; Ted Mittelstaedt > Subject: Re: Docs for Berkeley Make? > > > On Wed, Feb 02, 2005 at 01:23:23PM +1030, Greg 'groggy' Lehey wrote: > : > Older revisions of the O'Reilly book cover the Berkeley make. > : > : No, unfortunately not. Firstly this is a completely different book, > : and secondly the old (Oram/Talbott) book also didn't cover Berkeley > : Make. There's a little in my book "Porting UNIX Software" (out of > : print but available at http://www.lemis.com/grog/PUS/. It's not very > : much, though. > > Thanks for the link, I'll check it out. I have a new project > at work which > will be developed under Linux, and I was hoping to write makefiles that > would work under both OSes using the same make command. But > now I'm not > so sure that will work. I don't understand why BSD make and GNU make > diverged so much. > They didn't diverge. Both have a set of core commands that they understand. The difference is in the extra candy, which you really don't need or want to use anyway, unless the project becomes gigantic. There's only a handful of open source projects out there which justify the extra fancy crapoola in GNU make, in my experience. Unfortunately there's far too many of them that require gmake simply because the programmer became enamored of some gimgaw in gmake that had a high coolness factor. It is really sad to see software that consists of about 10 source files, that has a makefile that's so non-standard that it requires gmake. Ted