-# from: @(#)Makefile 5.15.1.2 (Berkeley) 5/8/91
-# $Id: Makefile,v 1.5 1994/05/05 07:04:04 cgd Exp $
+# $NetBSD: Makefile,v 1.30 2020/11/10 08:49:08 kamil Exp $
+# @(#)Makefile 8.3 (Berkeley) 7/24/94
-#Missing: adventure boggle ching dungeon hunt phantasia warp
+# Missing: dungeon
+# Moved: chess
+# Don't belong: xneko xroach
-SUBDIR= arithmetic atc backgammon banner battlestar bcd caesar canfield \
- cribbage dm factor fish fortune hack hangman larn \
- mille monop morse number pig pom ppt primes quiz rain robots rogue \
- sail snake trek wargames worm worms wump
+.include <bsd.own.mk>
+
+SUBDIR= adventure arithmetic atc \
+ backgammon banner battlestar bcd boggle \
+ caesar canfield cgram ching colorbars countmail cribbage \
+ dm factor fish fortune gomoku \
+ hack hals_end hangman hunt larn mille monop morse number \
+ phantasia pig pom ppt primes quiz \
+ rain random robots rogue sail snake tetris trek \
+ wargames warp worm worms wtf wump
+
+.if ${MKCXX} != "no"
+SUBDIR+= dab
+.endif
.include <bsd.subdir.mk>