aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-20 13:09:05 +0100
committerMattias Andrée <maandree@kth.se>2022-02-20 13:09:05 +0100
commit711872f601e63bcd5efcc7de0e3c69748cd852dd (patch)
treea8f7fc797a56627b3f04107e72f7316bff02d64c /Makefile
parentm (diff)
downloadlibblake-711872f601e63bcd5efcc7de0e3c69748cd852dd.tar.gz
libblake-711872f601e63bcd5efcc7de0e3c69748cd852dd.tar.bz2
libblake-711872f601e63bcd5efcc7de0e3c69748cd852dd.tar.xz
Add coverage test
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5f38b36..eb10a74 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,11 @@ LIB_VERSION = $(LIB_MAJOR).$(LIB_MINOR)
LIB_NAME = blake
+OBJ_COMMON =\
+ libblake_encode_hex.o\
+ libblake_decode_hex.o\
+ libblake_init.o
+
OBJ_BLAKE =\
libblake_blake224_digest.o\
libblake_blake224_digest_get_required_input_size.o\
@@ -73,9 +78,7 @@ OBJ_BLAKE2 =\
libblake_internal_blake2xs_init0.o
OBJ =\
- libblake_encode_hex.o\
- libblake_decode_hex.o\
- libblake_init.o\
+ $(OBJ_COMMON)\
$(OBJ_BLAKE)\
$(OBJ_BLAKE2)
@@ -83,6 +86,11 @@ HDR =\
libblake.h\
common.h
+SRC =\
+ $(OBJ:.o=.c)\
+ $(HDR)\
+ test.c
+
# Known answers tests
KAT_FILES =\
kat-blake2b\