From owner-freebsd-questions@FreeBSD.ORG Wed Jul 13 20:41:32 2005 Return-Path: X-Original-To: questions@freebsd.org 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 7CAB916A41C for ; Wed, 13 Jul 2005 20:41:32 +0000 (GMT) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.FreeBSD.org (Postfix) with SMTP id E295443D4C for ; Wed, 13 Jul 2005 20:41:31 +0000 (GMT) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 18421 invoked by uid 0); 13 Jul 2005 20:41:30 -0000 Received: from user-69-73-60-132.knology.net (HELO Grumpy.DynDNS.org) (69.73.60.132) by smtp5.knology.net with SMTP; 13 Jul 2005 20:41:30 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 5FD5E60DB; Wed, 13 Jul 2005 15:41:30 -0500 (CDT) Date: Wed, 13 Jul 2005 15:41:30 -0500 From: David Kelly To: Dan Nelson Message-ID: <20050713204130.GA48891@Grumpy.DynDNS.org> References: <20050713145649.GA47667@Grumpy.DynDNS.org> <42D53D89.20100@dial.pipex.com> <20050713182621.GA48396@Grumpy.DynDNS.org> <20050713190807.GA75904@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050713190807.GA75904@dan.emsphone.com> User-Agent: Mutt/1.4.2.1i Cc: questions@freebsd.org, Alex Zbyslaw Subject: Re: Make GNU Make behave like BSD Make? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 20:41:32 -0000 On Wed, Jul 13, 2005 at 02:08:07PM -0500, Dan Nelson wrote: > > I believe "-include .depend" will tell gmake to try to include the file > but not complain if it's not there. Yes! That does work! OTOH it breaks in BSD Make. :-( Thought to try something like this which makes BSD happy but breaks GNU. Strangly, GNU seems to fault the .endif as its happy if the .endif is deleted and -include is last thing in the file: .if ! $(OSTYPE) == "FreeBSD" -include .depend .endif Thanks all! Guess its time to quit playing with it as -include solves the immediate problem and already have gmake on BSD. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.