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

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jul 13), David Kelly said:
> 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.

I believe "-include .depend" will tell gmake to try to include the file
but not complain if it's not there.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050713190807.GA75904>