summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-07-05 23:36:25 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-07-05 23:36:25 (GMT)
commitb296990c3bcf942dc7601b31a901c7714a353a0a (patch)
tree040fe53ae4f30fe9fc674540d5fd14f307ba45d3 /Makefile
parent49b2788539016e7fd20559bea11b306ade0183b7 (diff)
parent84702995f89361c5872029cb93983c704d80e993 (diff)
downloadgit-b296990c3bcf942dc7601b31a901c7714a353a0a.zip
git-b296990c3bcf942dc7601b31a901c7714a353a0a.tar.gz
git-b296990c3bcf942dc7601b31a901c7714a353a0a.tar.bz2
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 a78d05d..7fa4a27 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