Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/BLAKE2/BLAKE2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Neves <sneves@dei.uc.pt>2016-06-12 19:07:18 +0300
committerSamuel Neves <sneves@dei.uc.pt>2016-06-12 19:07:18 +0300
commitf1d5a3a722f22dc2c6a9844b9b8a0cc583cc988b (patch)
tree58c7e83cf68d6dd9c262cfd2becb8b687f2d361f
parent369aa70c0cd68933cfb5c1d253bf10f0aa36f68d (diff)
missing dependency
-rw-r--r--bench/makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/bench/makefile b/bench/makefile
index 559e3d3..573d4b0 100644
--- a/bench/makefile
+++ b/bench/makefile
@@ -3,12 +3,14 @@ CC=gcc
CFLAGS=-std=gnu99 -O3 -march=native -DSUPERCOP # -DHAVE_XOP # uncomment on XOP-enabled CPUs
FILES=bench.c
-all:
+all: bench
+
+bench: bench.c
$(CC) $(FILES) $(CFLAGS) ../sse/blake2b.c -o blake2b
$(CC) $(FILES) $(CFLAGS) ../sse/blake2s.c -o blake2s
$(CC) $(FILES) $(CFLAGS) md5.c -o md5 -lcrypto -lz
-plot:
+plot: bench
./blake2b > blake2b.data
./blake2s > blake2s.data
./md5 > md5.data