# [PATCH] Makefile: git.o depends on library headers

1 messages from 2009-06-29 to 2009-06-29. Participants: Johannes Sixt.
Thread: https://gitlist.dev/t/19968

## Johannes Sixt, 2009-06-29 19:42

Subject: [PATCH] Makefile: git.o depends on library headers
Message-ID: <200906292142.08963.j6t@kdbg.org>
URL: https://gitlist.dev/e/200906292142.08963.j6t%40kdbg.org

```
This dependency was not yet specified anywhere else.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 41ab8e9..cdc40d0 100644
--- a/Makefile
+++ b/Makefile
@@ -1464,7 +1464,7 @@ git-http-push$X: revision.o http.o http-push.o $(GITLIBS)
 		$(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT)
 
 $(LIB_OBJS) $(BUILTIN_OBJS): $(LIB_H)
-$(patsubst git-%$X,%.o,$(PROGRAMS)): $(LIB_H) $(wildcard */*.h)
+$(patsubst git-%$X,%.o,$(PROGRAMS)) git.o: $(LIB_H) $(wildcard */*.h)
 builtin-revert.o wt-status.o: wt-status.h
 
 $(LIB_FILE): $(LIB_OBJS)
-- 
1.6.3.17.g1665f

```
