From 7f55c67099b6774123faf8a3ced7de0548798c86 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 20 Nov 2018 10:43:35 +0100 Subject: Initialisation et dump du tweakey --- crypto_aead/lilliputaei128v1/ref/Makefile | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'crypto_aead/lilliputaei128v1/ref/Makefile') diff --git a/crypto_aead/lilliputaei128v1/ref/Makefile b/crypto_aead/lilliputaei128v1/ref/Makefile index 891d0e3..3ffcf57 100644 --- a/crypto_aead/lilliputaei128v1/ref/Makefile +++ b/crypto_aead/lilliputaei128v1/ref/Makefile @@ -6,19 +6,20 @@ nist_flags = -std=c99 -Wall -Wextra -Wshadow -fsanitize=address,undefined -O2 clean: - -rm *.o - -rm test-tweakey - -rm tweakey_*.txt + -rm -r results -%.o: %.c +results: + mkdir $@ + +results/%.o: %.c | results gcc -c $< $(nist_flags) -o $@ -test-tweakey: test-tweakey.o tweakey.o +results/test-tweakey: results/test-tweakey.o results/tweakey.o | results gcc $^ $(nist_flags) -o $@ -run-test-tweakey: test-tweakey - ./test-tweakey +run-test-tweakey: results/test-tweakey + ./results/test-tweakey -test-tweakey.o: tweakey.h -tweakey.o: tweakey.h +results/test-tweakey.o: tweakey.h +results/tweakey.o: tweakey.h -- cgit v1.2.3