]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - backgammon/common_source/Makefile
convert HAVE_GCC == 7 to HAVE_GCC >= 7.
[bsdgames-darwin.git] / backgammon / common_source / Makefile
1 # $NetBSD: Makefile,v 1.11 2019/09/29 23:44:59 mrg Exp $
2
3 LIBISPRIVATE= yes
4
5 LIB= common
6 SRCS= allow.c board.c check.c fancy.c init.c odds.c \
7 one.c save.c subs.c table.c
8
9 .include <bsd.own.mk>
10
11 # Has fallthru comment that is missed
12 .if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
13 COPTS.check.c+= -Wno-error=implicit-fallthrough
14 .endif
15
16 .include <bsd.lib.mk>