summaryrefslogtreecommitdiffstats
path: root/hunt/huntd/Makefile
blob: 9bce5e39bb023d9235045f07f34095eb6ba78cdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#	$NetBSD: Makefile,v 1.8 2019/09/29 23:44:59 mrg Exp $

PROG=	huntd
SRCS=	answer.c draw.c driver.c execute.c expl.c \
	extern.c makemaze.c shots.c support.c terminal.c
MAN=	huntd.6

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>