Date: Wed, 21 Sep 2005 04:41:55 +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: <20050921044156.8863F39AC5@ntp1.ntp.isc.org> In-Reply-To: Message from Harti Brandt <hartmut.brandt@dlr.de> of "Tue, 20 Sep 2005 11:42:05 %2B0200." <20050920111521.D754@beagle.kn.op.dlr.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Harti, It is ugly to add $(srcdir) to the targets (and perhaps dependencies), but that may have to happen. If I say: srcdir=wherever VPATH: $(srcdir) a: b b: c cd $(srcdir) && script c > b then it is Strange that make will correctly see that for 'a', the dependency is 'b' and 'b' is found in $(srcdir)/b, yet for the 2nd rule, 'b' is expected to be in the current directory. H
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050921044156.8863F39AC5>