summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 450df04f..668faf48 100644
--- a/Makefile
+++ b/Makefile
@@ -1,23 +1,19 @@
# $NetBSD: Makefile,v 1.31 2021/01/02 03:21:39 nat Exp $
# @(#)Makefile 8.3 (Berkeley) 7/24/94
-# Missing: dungeon
-# Moved: chess
-# Don't belong: xneko xroach
-
-.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 \
+ dm factor fish gomoku \
hack hals_end hangman hunt larn mille monop morse number \
phantasia pig pom ppt primes quiz \
rain random robots rogue sail snake testpat tetris trek \
wargames warp worm worms wtf wump
+TOPTARGETS= all clean install
+
+$(TOPTARGETS): $(SUBDIR)
-.if ${MKCXX} != "no"
-SUBDIR+= dab
-.endif
+$(SUBDIR):
+ $(MAKE) -C $@ $(MAKECMDGOALS)
-.include <bsd.subdir.mk>
+.PHONY: $(TOPTARGETS) $(SUBDIR)