X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Makefile;h=d09390c00bcb951a49e28d79347d3505a87b4e8e;hb=eeb7991695b0944e4e8d6474b8f7cd2da8830b20;hp=42479f0bc2d2d3be0ba03dc0ca47a413db7087d9;hpb=33db5f4d9027a10e477ccf054b2c1ab94f74c85a;p=git.git diff --git a/Makefile b/Makefile index 42479f0b..d09390c0 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CFLAGS=-g -O3 -Wall CC=gcc PROG= update-cache show-diff init-db write-tree read-tree commit-tree \ - cat-file fsck-cache checkout-cache + cat-file fsck-cache checkout-cache diff-tree all: $(PROG) @@ -37,6 +37,9 @@ fsck-cache: fsck-cache.o read-cache.o checkout-cache: checkout-cache.o read-cache.o $(CC) $(CFLAGS) -o checkout-cache checkout-cache.o read-cache.o $(LIBS) +diff-tree: diff-tree.o read-cache.o + $(CC) $(CFLAGS) -o diff-tree diff-tree.o read-cache.o $(LIBS) + read-cache.o: cache.h show-diff.o: cache.h