From: Johannes Schindelin Date: Tue, 27 Feb 2007 23:55:48 GMT Subject: Re: Broken dependencies.. Message-ID: In-Reply-To: Hi, On Tue, 27 Feb 2007, Linus Torvalds wrote: > /home/torvalds/git/fetch.c:137: undefined reference to `type_names' > fetch.o: In function `typename': I realized that too, and forgot to send out the patch: -- snip -- [PATCH] fetch.o depends on the headers, too. Signed-off-by: Johannes Schindelin --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 20acc78..ce284fa 100644 --- a/Makefile +++ b/Makefile @@ -788,7 +788,7 @@ git-http-push$X: revision.o http.o http-push.o $(GITLIBS) $(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \ $(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT) -$(LIB_OBJS) $(BUILTIN_OBJS): $(LIB_H) +$(LIB_OBJS) $(BUILTIN_OBJS) fetch.o: $(LIB_H) $(patsubst git-%$X,%.o,$(PROGRAMS)): $(LIB_H) $(wildcard */*.h) $(DIFF_OBJS): diffcore.h -- snap -- Ciao, Dscho