summaryrefslogtreecommitdiffstats
path: root/tools/regression/sockets
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-05-25 10:46:43 +0000
committerrwatson <rwatson@FreeBSD.org>2006-05-25 10:46:43 +0000
commit9d6028812e41c84f602aee8e8250ad64cbe10680 (patch)
tree84c72a4956635ee1f0f35b5062891d33e8494bde /tools/regression/sockets
parent967a0b7020b70628f4e7b3a2f0bcecbf5c3492ce (diff)
downloadFreeBSD-src-9d6028812e41c84f602aee8e8250ad64cbe10680.zip
FreeBSD-src-9d6028812e41c84f602aee8e8250ad64cbe10680.tar.gz
Use WARNS and rely on rules rather than an explicit target for the
test binary. Reported by: maxim
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 afca2ca..3418475 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 3d1b34e..0d26c77 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>
OpenPOWER on IntegriCloud