summaryrefslogtreecommitdiff
path: root/crypto_aead/lilliputaei128v1/ref/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'crypto_aead/lilliputaei128v1/ref/Makefile')
-rw-r--r--crypto_aead/lilliputaei128v1/ref/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/crypto_aead/lilliputaei128v1/ref/Makefile b/crypto_aead/lilliputaei128v1/ref/Makefile
new file mode 100644
index 0000000..891d0e3
--- /dev/null
+++ b/crypto_aead/lilliputaei128v1/ref/Makefile
@@ -0,0 +1,24 @@
+
+.PHONY: clean run-test-tweakey
+
+
+nist_flags = -std=c99 -Wall -Wextra -Wshadow -fsanitize=address,undefined -O2
+
+
+clean:
+ -rm *.o
+ -rm test-tweakey
+ -rm tweakey_*.txt
+
+%.o: %.c
+ gcc -c $< $(nist_flags) -o $@
+
+test-tweakey: test-tweakey.o tweakey.o
+ gcc $^ $(nist_flags) -o $@
+
+run-test-tweakey: test-tweakey
+ ./test-tweakey
+
+
+test-tweakey.o: tweakey.h
+tweakey.o: tweakey.h