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