style.Makefile:

Use WARNS?= instead of WARNS=
This commit is contained in:
Johan Karlsson 2004-02-23 20:05:14 +00:00
parent f5ebf83f3f
commit c8edef9f48
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126173
4 changed files with 4 additions and 4 deletions

View file

@ -16,7 +16,7 @@ DFLAGS= -D_PATH_TCSHELL='"/rescue/${PROG}"'
DFLAGS= -D_PATH_TCSHELL='"/bin/${PROG}"'
.endif
CFLAGS+= -I. -I${.CURDIR} -I${TCSHDIR} ${DFLAGS}
WARNS= 0
WARNS?= 0
SRCS= sh.c sh.dir.c sh.dol.c sh.err.c sh.exec.c sh.char.c \
sh.exp.c sh.file.c sh.func.c sh.glob.c sh.hist.c sh.init.c \
sh.lex.c sh.misc.c sh.parse.c sh.print.c sh.proc.c sh.sem.c \

View file

@ -3,7 +3,7 @@
PROG= ps
SRCS= fmt.c keyword.c nlist.c print.c ps.c
WARNS= 5
WARNS?= 5
#
# To support "lazy" ps for non root/wheel users
# add -DLAZY_PS to the cflags. This helps

View file

@ -8,7 +8,7 @@ PROG= rmail
SRCS= rmail.c
MAN= rmail.8
CFLAGS+=-I${SENDMAIL_DIR}/include -I.
WARNS= 0
WARNS?= 0
WFORMAT=0
.if exists(${.OBJDIR}/../../lib/libsm)

View file

@ -21,7 +21,7 @@ LFLAGS= -8 # 8-bit lex scanner for arithmetic
CFLAGS+=-DSHELL -I. -I${.CURDIR}
# for debug:
# CFLAGS+= -g -DDEBUG=2
WARNS= 0
WARNS?= 0
WFORMAT=0
.PATH: ${.CURDIR}/bltin \