Date: Wed, 13 Jul 2005 15:41:30 -0500 From: David Kelly <dkelly@hiwaay.net> To: Dan Nelson <dnelson@allantgroup.com> Cc: questions@freebsd.org, Alex Zbyslaw <xfb52@dial.pipex.com> Subject: Re: Make GNU Make behave like BSD Make? Message-ID: <20050713204130.GA48891@Grumpy.DynDNS.org> In-Reply-To: <20050713190807.GA75904@dan.emsphone.com> References: <20050713145649.GA47667@Grumpy.DynDNS.org> <42D53D89.20100@dial.pipex.com> <20050713182621.GA48396@Grumpy.DynDNS.org> <20050713190807.GA75904@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050713204130.GA48891>