SCCS-vsn: games/Makefile 4.17
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
-# @(#)Makefile 4.16 (Berkeley) %G%
+# @(#)Makefile 4.17 (Berkeley) %G%
#
# Makefile 4.15 84/12/03
#
#
# Makefile 4.15 84/12/03
#
# Programs that live in subdirectories, and have makefiles of their own.
#
# Programs that live in subdirectories, and have makefiles of their own.
#
-SUBDIR= adventure backgammon battlestar boggle compat cribbage doctor fortune \
- hangman hunt mille monop quiz robots rogue sail snake trek zork
+SUBDIR= adventure backgammon battlestar boggle ching compat cribbage doctor \
+ fortune hangman hunt mille monop quiz robots rogue sail snake trek zork
# Shell scripts that need only be installed and are never removed.
#
# Shell scripts that need only be installed and are never removed.
#
# C programs that live in the current directory and do not need
# explicit make lines.
# C programs that live in the current directory and do not need
# explicit make lines.
install:
-for i in ${SUBDIR}; do \
(cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done
install:
-for i in ${SUBDIR}; do \
(cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done
-# -for i in ${SCRIPT}; do (install -c $$i ${DESTDIR}/usr/games/$$i); done
+ -for i in ${SCRIPT}; do \
+ (install -c $$i.sh ${DESTDIR}/usr/games/$$i); done
-for i in ${STD} ${NSTD}; do \
(install -s $$i ${DESTDIR}/usr/games/$$i); done
install -c chess.bin ${DESTDIR}/usr/games/lib/chess
-for i in ${STD} ${NSTD}; do \
(install -s $$i ${DESTDIR}/usr/games/$$i); done
install -c chess.bin ${DESTDIR}/usr/games/lib/chess