summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-07-05 16:36:25 -0700
committerJunio C Hamano <junkio@cox.net>2006-07-05 16:36:25 -0700
commitb296990c3bcf942dc7601b31a901c7714a353a0a (patch)
tree040fe53ae4f30fe9fc674540d5fd14f307ba45d3 /Makefile
parent49b2788539016e7fd20559bea11b306ade0183b7 (diff)
parent84702995f89361c5872029cb93983c704d80e993 (diff)
downloadgit-b296990c3bcf942dc7601b31a901c7714a353a0a.tar.gz
Merge branch 'jc/sha1'
* jc/sha1: A better-scheduled PPC SHA-1 implementation. test-sha1: test hashing large buffer Makefile: add framework to verify and bench sha1 implementations.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a78d05ddaa..7fa4a271bd 100644
--- a/Makefile
+++ b/Makefile
@@ -651,6 +651,12 @@ test-delta$X: test-delta.c diff-delta.o patch-delta.o
test-dump-cache-tree$X: dump-cache-tree.o $(GITLIBS)
$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS)
+test-sha1$X: test-sha1.o $(GITLIBS)
+ $(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS)
+
+check-sha1:: test-sha1$X
+ ./test-sha1.sh
+
check:
for i in *.c; do sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i || exit; done