From owner-freebsd-questions@FreeBSD.ORG Wed Jul 13 19:08:18 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 8DC6316A41C for ; Wed, 13 Jul 2005 19:08:18 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C02243D4C for ; Wed, 13 Jul 2005 19:08:18 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j6DJ88vF011947; Wed, 13 Jul 2005 14:08:08 -0500 (CDT) (envelope-from dan) Date: Wed, 13 Jul 2005 14:08:07 -0500 From: Dan Nelson To: David Kelly Message-ID: <20050713190807.GA75904@dan.emsphone.com> References: <20050713145649.GA47667@Grumpy.DynDNS.org> <42D53D89.20100@dial.pipex.com> <20050713182621.GA48396@Grumpy.DynDNS.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050713182621.GA48396@Grumpy.DynDNS.org> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.9i 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 19:08:18 -0000 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