On Sun, Aug 10, 2014 at 03:48:24PM -0400, Jeff King wrote: > On Fri, Aug 08, 2014 at 02:58:26PM -0700, Jonathan Nieder wrote: > > > Maybe it's worth switching to plain > > > > LIB_H += $(wildcard *.h) > > > > ? People using ancient compilers that never change headers wouldn't > > be hurt, people using modern compilers that do change headers also > > wouldn't be hurt, and we could stop pretending to maintain an > > up-to-date list. > [...] > Maybe > > LIB_H += $(shell find . -name '*.h' -print) > > would work? I took a stab at this and it seems to work. Here's a series. [1/2]: Makefile: use `find` to determine static header dependencies [2/2]: Makefile: drop CHECK_HEADER_DEPENDENCIES code -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html