style.Makefile:
Use WARNS?= instead of WARNS=
This commit is contained in:
parent
f5ebf83f3f
commit
c8edef9f48
@ -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 \
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user