projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify "diff-tree" output, and only keep track of one single name-base.
[git.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
2b48356
..
d09390c
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,7
+1,8
@@
CFLAGS=-g -O3 -Wall
CC=gcc
CFLAGS=-g -O3 -Wall
CC=gcc
-PROG=update-cache show-diff init-db write-tree read-tree commit-tree cat-file fsck-cache
+PROG= update-cache show-diff init-db write-tree read-tree commit-tree \
+ cat-file fsck-cache checkout-cache diff-tree
all: $(PROG)
all: $(PROG)
@@
-33,6
+34,12
@@
cat-file: cat-file.o read-cache.o
fsck-cache: fsck-cache.o read-cache.o
$(CC) $(CFLAGS) -o fsck-cache fsck-cache.o read-cache.o $(LIBS)
fsck-cache: fsck-cache.o read-cache.o
$(CC) $(CFLAGS) -o fsck-cache fsck-cache.o read-cache.o $(LIBS)
+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
read-cache.o: cache.h
show-diff.o: cache.h