projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bring up to proper rev level
[unix-history]
/
usr
/
src
/
games
/
Makefile
diff --git
a/usr/src/games/Makefile
b/usr/src/games/Makefile
index
8ef41d0
..
bd4678c
100644
(file)
--- a/
usr/src/games/Makefile
+++ b/
usr/src/games/Makefile
@@
-1,4
+1,9
@@
-# Makefile 4.15 84/12/03
+#
+# Copyright (c) 1980 Regents of the University of California.
+# All rights reserved. The Berkeley software License Agreement
+# specifies the terms and conditions for redistribution.
+#
+# @(#)Makefile 5.1 (Berkeley) %G%
#
DESTDIR=
CFLAGS= -O
#
DESTDIR=
CFLAGS= -O
@@
-9,12
+14,12
@@
WORK= aard ddl mpu
# 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 c
ompat cribbage doctor fortune
\
-
hangman hunt mille monop quiz
rogue sail snake trek zork
+SUBDIR= adventure backgammon battlestar boggle c
hing 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.
#
-#SCRIPT=
+SCRIPT= wargames
# 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.
@@
-35,19
+40,19
@@
${STD}:
cc ${CFLAGS} -o $@ $@.c
install:
cc ${CFLAGS} -o $@ $@.c
install:
- for i in ${SUBDIR}; do \
+
-
for i in ${SUBDIR}; do \
(cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done
(cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done
-# for i in ${SCRIPT}; do (install -c $$i ${DESTDIR}/usr/games/$$i); done
- for i in ${STD} ${NSTD}; do \
-
(install -s $$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
cat >${DESTDIR}/usr/games/lib/cfscores </dev/null
chmod 777 ${DESTDIR}/usr/games/lib/cfscores
clean:
rm -f a.out core *.s *.o
install -c chess.bin ${DESTDIR}/usr/games/lib/chess
cat >${DESTDIR}/usr/games/lib/cfscores </dev/null
chmod 777 ${DESTDIR}/usr/games/lib/cfscores
clean:
rm -f a.out core *.s *.o
- for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done
+
-
for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done
rm -f ${STD} ${NSTD}
depend:
rm -f ${STD} ${NSTD}
depend: