blob: 8d7c859c175bfe633fcfc6b128d449939d737842 (
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
|
# $NetBSD: Makefile,v 1.8 1997/04/01 11:42:34 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 6/11/93
SUBDIR= boggle mkdict mkindex
MKDICT!=cd $(.CURDIR)/mkdict; \
printf "xxx:\n\techo \$${.OBJDIR}/mkdict\n" | ${MAKE} -r -s -f - xxx
MKINDEX!=cd $(.CURDIR)/mkindex; \
printf "xxx:\n\techo \$${.OBJDIR}/mkindex\n" | ${MAKE} -r -s -f - xxx
WORDS=${.CURDIR}/../../share/dict/web2a
FILES=dictionary dictindex
FILESDIR=/usr/share/games/boggle
CLEANFILES+=${FILES}
all: ${FILES}
${MKDICT} ${MKINDEX}: ${SUBDIR}
dictionary: ${WORDS}
rm -f ${.TARGET}
${MKDICT} < ${WORDS} > ${.TARGET}
dictindex: dictionary
rm -f ${.TARGET}
${MKINDEX} < dictionary > ${.TARGET}
.include <bsd.prog.mk>
|