Date: Tue, 20 Sep 2005 09:09:51 +0000 From: Harlan Stenn <stenn@ntp.isc.org> To: Harti Brandt <harti@freebsd.org> Cc: Harlan Stenn <stenn@ntp.isc.org>, Giorgos Keramidas <keramida@freebsd.org>, freebsd-questions@freebsd.org Subject: Re: gmake/make dependency problem Message-ID: <20050920090956.14D5F39AD2@ntp1.ntp.isc.org> In-Reply-To: Message from Harti Brandt <hartmut.brandt@dlr.de> of "Tue, 20 Sep 2005 10:45:49 %2B0200." <20050920102845.E754@beagle.kn.op.dlr.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Harti, I guess it depends on your definition of a "source" file. I think of a Makefile in terms of "target" and "dependency" files. Automake makes it easy to build a package in the source tree (in which case the "source" file is in the same directory as the object files) or in a separate build/object tree. Under gmake the behavior is consistent. Under (at least FreeBSD's) (p)make, the behavior is not consistent. The example I face is no different that a system that uses lex and yacc (in the case where the distribution provides generated .c and .h files). Does a POSIX spec cover this case? Thanks... H
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050920090956.14D5F39AD2>