Jonathan Nieder <jrnieder@xxxxxxxxx> writes: > Since it is not in LIB_OBJS, http-push.o needs an explicit > $(GIT_H) dependency. I think you meant $(LIB_H). $ make $ touch cache.h $ make http-push.o does rebuild it with the current Makefile without this patch, because it has this seemingly unrelated line (worse yet, this gives even more than what are listed in LIB_H). $(patsubst git-%$X,%.o,$(PROGRAMS)) git.o: $(LIB_H) $(wildcard */*.h) Puzzlingly messy. -- 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