X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Makefile;h=b6fce394e9905af9a137f13fc5af6b300f7f2b7a;hb=136f2e548a34f1f504b0f062f87ddf33e8d6e83b;hp=5ad16a0f4511664210426125173d0fc52c9a6b2a;hpb=fc36f6a6c9e6d428dafee47f140f943b3e520240;p=git.git diff --git a/Makefile b/Makefile index 5ad16a0f..b6fce394 100644 --- a/Makefile +++ b/Makefile @@ -210,7 +210,7 @@ DIFF_OBJS = \ diffcore-delta.o log-tree.o LIB_OBJS = \ - blob.o commit.o connect.o csum-file.o base85.o \ + blob.o commit.o connect.o csum-file.o cache-tree.o base85.o \ date.o diff-delta.o entry.o exec_cmd.o ident.o index.o \ object.o pack-check.o patch-delta.o path.o pkt-line.o \ quote.o read-cache.o refs.o run-command.o dir.o \ @@ -626,6 +626,9 @@ test-date$X: test-date.c date.o ctype.o test-delta$X: test-delta.c diff-delta.o patch-delta.o $(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $^ +test-dump-cache-tree$X: dump-cache-tree.o $(GITLIBS) + $(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS) + check: for i in *.c; do sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i || exit; done