X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Makefile;h=ddb4e3ecd4a1097b1312add0942934f31b17c37e;hb=97d9c3cdeafb9f48075987c76373a71e6874c6eb;hp=42479f0bc2d2d3be0ba03dc0ca47a413db7087d9;hpb=33db5f4d9027a10e477ccf054b2c1ab94f74c85a;p=git.git diff --git a/Makefile b/Makefile index 42479f0b..ddb4e3ec 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 rev-tree all: $(PROG) @@ -37,6 +37,12 @@ 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) + +rev-tree: rev-tree.o read-cache.o + $(CC) $(CFLAGS) -o rev-tree rev-tree.o read-cache.o $(LIBS) + read-cache.o: cache.h show-diff.o: cache.h