Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jul 2005 13:26:21 -0500
From:      David Kelly <dkelly@hiwaay.net>
To:        Alex Zbyslaw <xfb52@dial.pipex.com>
Cc:        questions@freebsd.org
Subject:   Re: Make GNU Make behave like BSD Make?
Message-ID:  <20050713182621.GA48396@Grumpy.DynDNS.org>
In-Reply-To: <42D53D89.20100@dial.pipex.com>
References:  <20050713145649.GA47667@Grumpy.DynDNS.org> <42D53D89.20100@dial.pipex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 13, 2005 at 05:12:57PM +0100, Alex Zbyslaw wrote:
> David Kelly wrote:
> 
> >So my question is "Is there a way to make GNU Make handle .depend the
> >BSD way? And is it possible for the same Makefile to run the same way on
> >either BSD or GNU Makes?"
> 
> However, you could just try standardising on one make or the other.  
> gmake will build on FreeBSD and (unfortunately) may be the easiest way 
> to go.

Yes, but the problem is that I want to make GNU Make behave the BSD way.
Specifically my application is an embedded AVR and it really needs to
build fairly painlessly under the WinAVR environment where GNU Make is
painlessly bundled. Yet I also often use FreeBSD and ports/devel/avr*.

I do have gmake installed on FreeBSD so that isn't an issue. Another way
to say what I'm trying to do is that gmake barfs if "include .depend"
is specified but .depend does not exist. The result is "make depend" is
not a solution for creating .depend.

Its not a problem for *me* to "touch .depend" the first time. OTOH it
stymied my boss.

-- 
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?20050713182621.GA48396>