Exit test test if kyua is missing
[elfdbg/.git] / Makefile
CommitLineData
4974f578
SB
1.include <bsd.own.mk>
2
3PREFIX?= /usr/local
4BINDIR= ${PREFIX}/bin
f4b470b9
SB
5
6PROG= elfdbg
4974f578 7MAN= elfdbg.1
418b72b3 8SRCS= elfdbg.c elf.c compat.c
f4b470b9 9
e65a04f5 10test:
37cbe142
SB
11 @if ! type kyua >/dev/null 2>&1; then \
12 ${ECHO} "kyua not found. Install with pkg install kyua"; exit 1; \
13 fi; \
14
e65a04f5
SB
15 @(cd tests && kyua test && kyua report)
16
f4b470b9 17.include <bsd.prog.mk>