From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4550 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:31:22 +0100 Message-ID: <20140206233121.GD1685@port70.net> References: <52F3C329.6040208@f-prot.com> <20140206173932.GB1685@port70.net> <20140206190410.GJ15627@brightrain.aerifal.cx> <20140206232706.GC1685@port70.net> 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 1391729487 10294 80.91.229.3 (6 Feb 2014 23:31:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Feb 2014 23:31:27 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4554-gllmg-musl=m.gmane.org@lists.openwall.com Fri Feb 07 00:31:35 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 1WBYPu-0003C1-FZ for gllmg-musl@plane.gmane.org; Fri, 07 Feb 2014 00:31:34 +0100 Original-Received: (qmail 5231 invoked by uid 550); 6 Feb 2014 23:31:33 -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 5223 invoked from network); 6 Feb 2014 23:31:33 -0000 Content-Disposition: inline In-Reply-To: <20140206232706.GC1685@port70.net> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4550 Archived-At: * Szabolcs Nagy [2014-02-07 00:27:06 +0100]: > 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 VPATH=$(SOMEDIR) %.o: $(ARCH)/%.s seems to work but i have no clue why :) (i don't think this follows from the make manual)