Skip to content

Commit 3c4e8a6

Browse files
author
Junio C Hamano
committed
Makefile dependency fix.
Johannes Schindelin noticed that recent Makefile updates were too eager to loosen dependencies. Signed-off-by: Junio C Hamano <[email protected]>
1 parent d59a604 commit 3c4e8a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ init-db.o: init-db.c
172172
$(CC) -c $(CFLAGS) -DDEFAULT_GIT_TEMPLATE_DIR='"$(template_dir)"' $*.c
173173

174174
$(LIB_OBJS): $(LIB_H)
175+
$(patsubst git-%,%.o,$(PROG)): $(LIB_H)
175176
$(DIFF_OBJS): diffcore.h
176177

177178
$(LIB_FILE): $(LIB_OBJS)

0 commit comments

Comments
 (0)