Add "diff-cache" helper program to compare a tree (or commit) with
[gitweb.git] / Makefile
index 57181be3676942744aff33796d52d417c80cdc61..0d07b9a4d314a2a8d9d551e64828120a41c56615 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,8 @@ AR=ar
 
 PROG=   update-cache show-diff init-db write-tree read-tree commit-tree \
        cat-file fsck-cache checkout-cache diff-tree rev-tree show-files \
-       check-files ls-tree merge-base merge-cache unpack-file git-export
+       check-files ls-tree merge-base merge-cache unpack-file git-export \
+       diff-cache
 
 all: $(PROG)
 
@@ -84,15 +85,19 @@ unpack-file: unpack-file.o $(LIB_FILE)
 git-export: git-export.o $(LIB_FILE)
        $(CC) $(CFLAGS) -o git-export git-export.o $(LIBS)
 
+diff-cache: diff-cache.o $(LIB_FILE)
+       $(CC) $(CFLAGS) -o diff-cache diff-cache.o $(LIBS)
+
 blob.o: $(LIB_H)
 cat-file.o: $(LIB_H)
 check-files.o: $(LIB_H)
 checkout-cache.o: $(LIB_H)
 commit.o: $(LIB_H)
 commit-tree.o: $(LIB_H)
+diff-cache.o: $(LIB_H)
 diff-tree.o: $(LIB_H)
 fsck-cache.o: $(LIB_H)
-git_export.o: $(LIB_H)
+git-export.o: $(LIB_H)
 init-db.o: $(LIB_H)
 ls-tree.o: $(LIB_H)
 merge-base.o: $(LIB_H)