From: Keir Fraser Subject: Re: [PATCH] [LIBXC] clean specified files instead of wildcarding Date: Wed, 09 Aug 2006 17:40:10 +0100 Message-ID: References: <1155136928.2821.15.camel@diesel> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1155136928.2821.15.camel@diesel> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Hollis Blanchard Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 9/8/06 4:22 pm, "Hollis Blanchard" wrote: >> We wildcard in all the other makefiles. Is it a problem here? > > Well yes. The problem is that we're now adding subdirectories under > tools/libxc, so rm -rf *.o doesn't clean them. The IA64 guys just added > rm -rf ia64/*.o, but we shouldn't need to guess: we already have these > handy variables telling us exactly where all the object files are. If > you prefer, we can add another unconditional rm -rf powerpc64/* in the > IA64 style... Okay, your approach is cleaner. -- Keir