diff options
Diffstat (limited to 'crypto_aead/lilliputaei128v1/ref/Makefile')
| -rw-r--r-- | crypto_aead/lilliputaei128v1/ref/Makefile | 19 |
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 |
