diff options
author | Mattias Andrée <maandree@kth.se> | 2017-10-15 15:27:47 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-10-15 15:27:47 +0200 |
commit | ec16755f60139245de7f3ba7fa7ac32c444cbd7a (patch) | |
tree | 84d427f19a9aea2dd9ab631cb7b9ce7f4b1f2d1b /Makefile | |
parent | Improve the code (diff) | |
download | sha3sum-ec16755f60139245de7f3ba7fa7ac32c444cbd7a.tar.gz sha3sum-ec16755f60139245de7f3ba7fa7ac32c444cbd7a.tar.bz2 sha3sum-ec16755f60139245de7f3ba7fa7ac32c444cbd7a.tar.xz |
Add test
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -61,6 +61,9 @@ rawshake%sum.c: shake%sum.c: printf '%s\n' '#include "common.h"' 'SHAKE_MAIN($*)' > $@ +check: + ./test + install: mkdir -p -- "$(DESTDIR)$(PREFIX)/bin" mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1" @@ -76,8 +79,8 @@ uninstall: -rmdir -- "$(DESTDIR)$(PREFIX)/share/licenses/sha3sum" clean: - -rm -r -- $(MAN1) $(BIN) keccak-*sum.c sha3-*sum.c rawshake*sum.c shake*sum.c + -rm -r -- $(MAN1) $(BIN) keccak-*sum.c sha3-*sum.c rawshake*sum.c shake*sum.c .testdir .SUFFIXES: -.PHONY: all install uninstall clean +.PHONY: all check install uninstall clean |