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:
parent
33df3c1fcf
commit
779141b703
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user