X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Makefile;h=b6fce394e9905af9a137f13fc5af6b300f7f2b7a;hb=3bc1eca91e5230739cfb488e63fae35a166a07de;hp=5ad16a0f4511664210426125173d0fc52c9a6b2a;hpb=d177e584255aad351bbbff14aba8e73afc008c75;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