summaryrefslogtreecommitdiffstats
path: root/games/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/Makefile')
-rw-r--r--games/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/games/Makefile b/games/Makefile
index 214a394..716a786 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -1,6 +1,7 @@
-# @(#)Makefile 8.2 (Berkeley) 3/31/94
# $FreeBSD$
+.include <bsd.own.mk>
+
SUBDIR= \
bcd \
caesar \
@@ -12,6 +13,11 @@ SUBDIR= \
pom \
ppt \
primes \
- random
+ random \
+ ${_tests}
+
+.if ${MK_TESTS} != "no"
+_tests= tests
+.endif
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud