Re: [PATCH] Makefile: determine the list of header files using a glob
- From
Mike Hommey <mh@glandium.org>
- Date
- Nov 27, 2009, 08:26 UTC
- Message-ID
- <20091127082624.GA19875@glandium.org>
- In-Reply-To
- <4B0F8825.3040107@viscovery.net>
On Fri, Nov 27, 2009 at 09:04:53AM +0100, Johannes Sixt wrote:
Show 9 quoted lines
> From: Johannes Sixt <j6t@kdbg.org> > > The list of header files was incomplete because a number of header files > were added to the code base, but were not added to the list LIB_H that we > have in the Makefile. This meant that no rebuild was triggered if one of > the missing headers was changed because we do not have automatic > dependency tracking, either. > > Sidestep the issue by computing the list using $(wildcard).
I don't know if the current Makefile works with Solaris' make, or if GNU make has to be used, but $(wildcard) is definitely not supported by Solaris' make.
Mike