NetBSD/games/gomoku/Makefile

22 lines
551 B
Makefile

# $NetBSD: Makefile,v 1.12 2022/05/31 19:11:58 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 7/24/94
PROG= gomoku
SRCS= bdinit.c bdisp.c main.c makemove.c pickmove.c stoc.c
MAN= gomoku.6
DPADD= ${LIBCURSES} ${LIBTERMINFO}
LDADD= -lcurses -lterminfo
HIDEGAME=hidegame
CPPFLAGS+= ${DEBUG:D-DDEBUG}
.if ${MACHINE} == "vax"
COPTS.pickmove.c += -O0
.endif
#WARNS= 6 # would produce warnings about small integer types
LINTFLAGS+= -w # treat warnings as errors
LINTFLAGS+= -T # strict bool mode
LINTFLAGS+= -e # strict enum checks
.include <bsd.prog.mk>