Re: [PATCH 1/4] Makefile: fix http-push.o dependencies
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 28, 2009, 18:05 UTC
- Message-ID
- <7vk4xah6el.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20091128113115.GB10059@progeny.tock>
Jonathan Nieder <jrnieder@gmail.com> 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.odoes 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.