summaryrefslogtreecommitdiff
path: root/crypto_aead/lilliputaei128v1/ref/Makefile
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-20 10:43:35 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-20 10:43:35 +0100
commit7f55c67099b6774123faf8a3ced7de0548798c86 (patch)
tree9527f74c87ad7fb3be49294cb47f671e57ccd84d /crypto_aead/lilliputaei128v1/ref/Makefile
parentf14a2f281a2da7df2dae192cb38eddc288790c4e (diff)
downloadlilliput-ae-implem-7f55c67099b6774123faf8a3ced7de0548798c86.tar.xz
Initialisation et dump du tweakey
Diffstat (limited to 'crypto_aead/lilliputaei128v1/ref/Makefile')
-rw-r--r--crypto_aead/lilliputaei128v1/ref/Makefile19
1 files changed, 10 insertions, 9 deletions
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