comments but are missed by the current checker.
-# $NetBSD: Makefile,v 1.9 2008/05/03 14:48:30 lukem Exp $
+# $NetBSD: Makefile,v 1.10 2019/02/04 09:51:48 mrg Exp $
LIBISPRIVATE= yes
SRCS= allow.c board.c check.c fancy.c init.c odds.c \
one.c save.c subs.c table.c
+.include <bsd.own.mk>
+
+# Has fallthru comment that is missed
+.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
+COPTS.check.c+= -Wno-error=implicit-fallthrough
+.endif
+
.include <bsd.lib.mk>
-# $NetBSD: Makefile,v 1.6 2014/03/29 22:29:55 dholland Exp $
+# $NetBSD: Makefile,v 1.7 2019/02/04 09:51:48 mrg Exp $
PROG= huntd
SRCS= answer.c draw.c driver.c execute.c expl.c \
CPPFLAGS+=-I${.CURDIR}/../include
+.include <bsd.own.mk>
+
+# Has fallthru comment that is missed
+.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
+COPTS.shots.c+= -Wno-error=implicit-fallthrough
+.endif
+
.include <bsd.prog.mk>