Re: [PATCH] Makefile: determine the list of header files using a glob
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 27, 2009, 09:36 UTC
- Message-ID
- <alpine.DEB.1.00.0911271033460.4521@intel-tinevez-2-302>
- In-Reply-To
- <4B0F8825.3040107@viscovery.net>
Hi,
On Fri, 27 Nov 2009, 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).
Funny; I thought that not all header files are library header files, i.e. not all header changes should trigger a full new build of libgit.a.
Am I wrong?
Ciao, Dscho
P.S.: Something that comes to mind is the http.h header, which should really be independent of libgit.a. Which reminds me: do we _still_ tell libgit.a at _compile time_ whether git-remote-http is compiled with cURL?