From c18cef7722e890666b617bf2dcc6f8cd38597932 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 13 Nov 2014 03:35:01 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5c03472..4241d59 100644 --- a/Makefile +++ b/Makefile @@ -102,7 +102,7 @@ bin/libkeccak.a: $(foreach O,$(LIB_OBJ),obj/libkeccak/$(O).o) .PHONY: test test: bin/test -bin/test: obj/test.o bin/libkeccak.so +bin/test: obj/test.o bin/libkeccak.so bin/libkeccak.so.$(LIB_MAJOR) bin/libkeccak.so.$(LIB_VERSION) $(CC) $(FLAGS) $(LDFLAGS) -Lbin -lkeccak -o $@ $< obj/test.o: src/test.c src/libkeccak/*.h src/libkeccak.h @@ -113,7 +113,7 @@ obj/test.o: src/test.c src/libkeccak/*.h src/libkeccak.h .PHONY: benchmark benchmark: bin/benchmark -bin/benchmark: obj/benchmark.o bin/libkeccak.so +bin/benchmark: obj/benchmark.o bin/libkeccak.so bin/libkeccak.so.$(LIB_MAJOR) bin/libkeccak.so.$(LIB_VERSION) $(CC) $(FLAGS) $(LDFLAGS) -Lbin -lkeccak -o $@ $< obj/benchmark.o: src/benchmark.c src/libkeccak/*.h src/libkeccak.h @@ -123,7 +123,7 @@ obj/benchmark.o: src/benchmark.c src/libkeccak/*.h src/libkeccak.h .PHONY: check -check: bin/test bin/libkeccak.so +check: bin/test bin/libkeccak.so bin/libkeccak.so.$(LIB_MAJOR) bin/libkeccak.so.$(LIB_VERSION) @test $$(sha256sum LICENSE | cut -d ' ' -f 1) = \ 57c8ff33c9c0cfc3ef00e650a1cc910d7ee479a8bc509f6c9209a7c2a11399d6 || \ ( echo 'The file LICENSE is incorrect, test will fail!' ; false ) @@ -134,7 +134,7 @@ check: bin/test bin/libkeccak.so .PHONY: run-benchmark -run-benchmark: bin/benchmark bin/libkeccak.so +run-benchmark: bin/benchmark bin/libkeccak.so bin/libkeccak.so.$(LIB_MAJOR) bin/libkeccak.so.$(LIB_VERSION) for i in $$(seq 7) ; do env LD_LIBRARY_PATH=bin bin/benchmark ; done | median -- cgit v1.2.3-70-g09d2