diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |