From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4549 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Out-of-tree builds Date: Fri, 7 Feb 2014 00:27:06 +0100 Message-ID: <20140206232706.GC1685@port70.net> References: <52F3C329.6040208@f-prot.com> <20140206173932.GB1685@port70.net> <20140206190410.GJ15627@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1391729236 7868 80.91.229.3 (6 Feb 2014 23:27:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Feb 2014 23:27:16 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4553-gllmg-musl=m.gmane.org@lists.openwall.com Fri Feb 07 00:27:25 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1WBYLm-0008Ce-Nl for gllmg-musl@plane.gmane.org; Fri, 07 Feb 2014 00:27:18 +0100 Original-Received: (qmail 3222 invoked by uid 550); 6 Feb 2014 23:27:18 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 3214 invoked from network); 6 Feb 2014 23:27:17 -0000 Content-Disposition: inline In-Reply-To: <20140206190410.GJ15627@brightrain.aerifal.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4549 Archived-At: * Rich Felker [2014-02-06 14:04:10 -0500]: > It's not as easy as it sounds because of the way implicit % rules > work. I don't know how to get them to work when adding a leading path. ok i see the problem, this dependency cannot be expressed for all foo and bar easily: src/foo/bar.o: $(SOMEDIR)/src/foo/$(ARCH)/bar.s without $(SOMEDIR) %.o: $(ARCH)/%.s works