From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8928 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: Sun, 22 Nov 2015 15:56:00 +0100 Message-ID: <20151122145600.GJ23362@port70.net> References: <20151117220141.GD3818@brightrain.aerifal.cx> <20151117230606.GJ18372@port70.net> <20151117232711.GG3818@brightrain.aerifal.cx> <20151117234330.GH3818@brightrain.aerifal.cx> <20151118001955.GI3818@brightrain.aerifal.cx> <20151118214452.GQ3818@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 1448204193 7776 80.91.229.3 (22 Nov 2015 14:56:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Nov 2015 14:56:33 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8941-gllmg-musl=m.gmane.org@lists.openwall.com Sun Nov 22 15:56:15 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 1a0W3q-0007yM-JX for gllmg-musl@m.gmane.org; Sun, 22 Nov 2015 15:56:14 +0100 Original-Received: (qmail 13978 invoked by uid 550); 22 Nov 2015 14:56:13 -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 13958 invoked from network); 22 Nov 2015 14:56:12 -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:8928 Archived-At: * Petr Hosek [2015-11-19 00:22:09 +0000]: > > +$(ALL_LIBS): | lib/ > +$(ALL_TOOLS): | tools/ > +$(CRT_LIBS:lib/%=$(objdir)/crt/%): | $(objdir)/crt/ > +$(OBJS) $(LOBJS): | $(sort $(dir $(OBJS))) > +$(GENH): | $(objdir)/include/bits/ > +$(GENH_INT): | $(objdir)/src/internal/ > + one more comment: tools/ is now used for both sources and outputs, i think it can be used for sources only by moving the tools outputs under obj/ (so tools/ does not need to be created out of tree, only obj/ and lib/)