NetBSD/usr.bin/xlint/lint2/Makefile
rillig 7aff0ab6ab lint: fix LINTFLAGS for lint2
These have never worked since they report a syntax error in
<sys/cdefs.h> just because there is an __inline over there.

I wonder why it has been necessary at all to have custom LINTFLAGS for
lint itself.  It's just an ordinary program.
2021-01-16 00:09:28 +00:00

12 lines
276 B
Makefile

# $NetBSD: Makefile,v 1.18 2021/01/16 00:09:28 rillig Exp $
NOMAN= # defined
PROG= lint2
SRCS= main2.c hash.c read.c mem.c mem2.c chk.c msg.c emit.c emit2.c \
inittyp.c tyname.c
BINDIR= /usr/libexec
CPPFLAGS+= -DPASS=\"${PROG}.h\" -I${.CURDIR}
.include <bsd.prog.mk>