blob: ca13bede5c1151bf9b39b757ba3dd9f07a4f1c33 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $FreeBSD$
.include "Makefile.inc"
GAMES= adventure arithmetic atc backgammon battlestar bs canfield cribbage \
fish hack hangman larn mille phantasia piano pig quiz robots rogue \
sail snake trek worm wump
all: ${GAMES}
.for I in ${GAMES}
cd ${I} && make depend && make all
.endfor
install: ${GAMES}
mtree -deU -f var.mtree -p ${VARDIR}
mtree -deU -f share.mtree -p ${SHAREDIR}
.for I in ${GAMES}
cd ${I} && make install
.endfor
clean: ${GAMES}
.for I in ${GAMES}
cd ${I} && make clean
.endfor
extract: ${GAMES}
.for I in ${GAMES}
${I}:
cvs -d `pwd`/cvs get ${I}
.endfor
commit:
.for I in ${GAMES}
cvs -d `pwd`/cvs commit -F ./commitmsg ${I}
.endfor
distclean:
rm -rf ${GAMES}
|