Use WARNS and rely on rules rather than an explicit target for the

test binary.

Reported by:	maxim
This commit is contained in:
Robert Watson 2006-05-25 10:46:43 +00:00
parent 0fb57f87a3
commit 64ccf56136
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158911
2 changed files with 2 additions and 6 deletions

View file

@ -4,8 +4,6 @@
PROG= sendfile
NO_MAN=
sendfile: sendfile.c
gcc -Wall -o sendfile sendfile.c
WARNS= 2
.include <bsd.prog.mk>

View file

@ -4,8 +4,6 @@
PROG= socketpair
NO_MAN=
socketpair: socketpair.c
gcc -Wall -o socketpair socketpair.c
WARNS= 2
.include <bsd.prog.mk>