Who ever came up with the ${CFLAGS} need to be passed to lint?

We can now run make lint on src/bin at least.

I am sure Mark Murray has way more interesting fixes up his sleeve.
This commit is contained in:
Jeroen Ruigrok van der Werven 2001-04-19 19:45:19 +00:00
parent c5ab496267
commit bfc4cb269a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75713

View File

@ -178,7 +178,7 @@ distribute: _SUBDIR
.if !target(lint)
lint: ${SRCS} _SUBDIR
.if defined(PROG)
@${LINT} ${LINTFLAGS} ${CFLAGS} ${.ALLSRC} | more 2>&1
@${LINT} ${LINTFLAGS} ${.ALLSRC} | more 2>&1
.endif
.endif