From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8889 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Support for out-of-tree build Date: Wed, 18 Nov 2015 01:19:25 +0100 Message-ID: <20151118001925.GK18372@port70.net> References: <20151112234137.GD3818@brightrain.aerifal.cx> <20151117210021.GB3818@brightrain.aerifal.cx> <20151117220141.GD3818@brightrain.aerifal.cx> <20151117230606.GJ18372@port70.net> <20151117232711.GG3818@brightrain.aerifal.cx> <20151117234330.GH3818@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 1447805980 14924 80.91.229.3 (18 Nov 2015 00:19:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2015 00:19:40 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8902-gllmg-musl=m.gmane.org@lists.openwall.com Wed Nov 18 01:19:40 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ZyqTK-0006te-VO for gllmg-musl@m.gmane.org; Wed, 18 Nov 2015 01:19:39 +0100 Original-Received: (qmail 28139 invoked by uid 550); 18 Nov 2015 00:19:37 -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 28121 invoked from network); 18 Nov 2015 00:19:36 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Xref: news.gmane.org gmane.linux.lib.musl.general:8889 Archived-At: * Petr Hosek [2015-11-17 23:54:23 +0000]: > This'll work if we remove the .sub files as discussed, with .sub files it > becomes more complicated. > why is it more complicated? %.o: %.sub ... rule should generate a .o in the directory where the .sub is so OBJS should have a subarch/foo.o for a subarch/foo.sub (you wont have a proper dependency between the .o and the .s but that does not work now either.. only through ugly mkasmdep)