In general, prefer WARNS to CFLAGS+=-Wall. Tend towards a more

BSD-esque Makefile style.

Submitted by:	obrien
Approved by:	re
This commit is contained in:
Robert Watson 2002-12-01 23:10:28 +00:00
parent ed2f312db5
commit 6a2c7d1a77
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107473
4 changed files with 16 additions and 8 deletions

View File

@ -1,7 +1,9 @@
# $FreeBSD$
PROG= getfmac
SRCS= getfmac.c
MAN= getfmac.8
CFLAGS+=-Wall
SRCS= getfmac.c
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -1,7 +1,9 @@
# $FreeBSD$
PROG= getpmac
NOMAN= #true
SRCS= getpmac.c
CFLAGS+=-Wall
NOMAN=yes
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -1,7 +1,9 @@
# $FreeBSD$
PROG= setfmac
SRCS= setfmac.c
MAN= setfmac.8
CFLAGS+=-Wall
SRCS= setfmac.c
WARNS?= 2
.include <bsd.prog.mk>

View File

@ -1,7 +1,9 @@
# $FreeBSD$
PROG= setpmac
NOMAN= #true
SRCS= setpmac.c
CFLAGS+=-Wall
NOMAN=yes
WARNS?= 2
.include <bsd.prog.mk>