aboutsummaryrefslogtreecommitdiff
path: root/tools/regression/sockets
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2006-05-25 10:46:43 +0000
committerRobert Watson <rwatson@FreeBSD.org>2006-05-25 10:46:43 +0000
commit64ccf56136f0eb4319c83eec4b79d26398ba8056 (patch)
tree84c72a4956635ee1f0f35b5062891d33e8494bde /tools/regression/sockets
parent0fb57f87a31016916058f7677c88c170c96104fd (diff)
downloadsrc-64ccf56136f0eb4319c83eec4b79d26398ba8056.tar.gz
src-64ccf56136f0eb4319c83eec4b79d26398ba8056.zip
Use WARNS and rely on rules rather than an explicit target for the
test binary. Reported by: maxim
Notes
Notes: svn path=/head/; revision=158911
Diffstat (limited to 'tools/regression/sockets')
-rw-r--r--tools/regression/sockets/sendfile/Makefile4
-rw-r--r--tools/regression/sockets/socketpair/Makefile4
2 files changed, 2 insertions, 6 deletions
diff --git a/tools/regression/sockets/sendfile/Makefile b/tools/regression/sockets/sendfile/Makefile
index afca2cac1010..34184755dea2 100644
--- a/tools/regression/sockets/sendfile/Makefile
+++ b/tools/regression/sockets/sendfile/Makefile
@@ -4,8 +4,6 @@
PROG= sendfile
NO_MAN=
-
-sendfile: sendfile.c
- gcc -Wall -o sendfile sendfile.c
+WARNS= 2
.include <bsd.prog.mk>
diff --git a/tools/regression/sockets/socketpair/Makefile b/tools/regression/sockets/socketpair/Makefile
index 3d1b34e1556a..0d26c772d68f 100644
--- a/tools/regression/sockets/socketpair/Makefile
+++ b/tools/regression/sockets/socketpair/Makefile
@@ -4,8 +4,6 @@
PROG= socketpair
NO_MAN=
-
-socketpair: socketpair.c
- gcc -Wall -o socketpair socketpair.c
+WARNS= 2
.include <bsd.prog.mk>