Date: Wed, 13 Jul 2005 09:56:49 -0500 From: David Kelly <dkelly@hiwaay.net> To: questions@freebsd.org Subject: Make GNU Make behave like BSD Make? Message-ID: <20050713145649.GA47667@Grumpy.DynDNS.org>
next in thread | raw e-mail | index | archive | help
BSD make will automatically and silently include .depend if one exists in the same directory as the Makefile. Otherwise it won't complain if .depend is missing. In GNU Make one must explicitly "include .depend", but if .depend does not exist GNU Make aborts. And can't .depend as a target dependency partly because the target won't be built until all the includes are complete. 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?" -- 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?20050713145649.GA47667>