projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make "rev-tree" more efficient and more useful.
[git.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
d09390c
..
ddb4e3e
100644
(file)
--- 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 \
CC=gcc
PROG= update-cache show-diff init-db write-tree read-tree commit-tree \
- cat-file fsck-cache checkout-cache diff-tree
+ cat-file fsck-cache checkout-cache diff-tree
rev-tree
all: $(PROG)
all: $(PROG)
@@
-40,6
+40,9
@@
checkout-cache: checkout-cache.o read-cache.o
diff-tree: diff-tree.o read-cache.o
$(CC) $(CFLAGS) -o diff-tree diff-tree.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
read-cache.o: cache.h
show-diff.o: cache.h