Display continous integration build status per task
[elfdbg/.git] / Makefile
index 76f168336818d2ac97a2d5eee242bbe613b95eac..afa034ba60866d1ae897969911714e3acc41745f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,13 @@
-DESTDIR=/usr/local/
-BINDIR=bin
+.include <bsd.own.mk>
+
+PREFIX?=       /usr/local
+BINDIR=        ${PREFIX}/bin
 
 PROG=  elfdbg
-SRCS=  elfdbg.c
+MAN=   elfdbg.1
+SRCS=  elfdbg.c elf.c compat.c
 
-CFLAGS+=-lelf
+test:
+       @(cd tests && kyua test && kyua report)
 
 .include <bsd.prog.mk>