From ec16755f60139245de7f3ba7fa7ac32c444cbd7a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 15 Oct 2017 15:27:47 +0200 Subject: Add test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ca8a99d..3e622cf 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3-70-g09d2