Add const and unsigned when it make sense and use size_t. Also use -Wall
[elfdbg/.git] / Makefile
1 .include <bsd.own.mk>
2
3 PREFIX?=        /usr/local
4 BINDIR= ${PREFIX}/bin
5
6 CFLAGS=-O2 -pipe -std=gnu99 -Wall
7
8 PROG=   elfdbg
9 MAN=    elfdbg.1
10 SRCS=   elfdbg.c elf.c compat.c
11
12 test:
13         @if ! type kyua >/dev/null 2>&1; then \
14                 ${ECHO} "kyua not found. Install with pkg install kyua"; exit 1; \
15         fi; \
16
17         @(cd tests && kyua test && kyua report)
18
19 .include <bsd.prog.mk>