1 # $NetBSD: Makefile,v 1.20 2003/10/19 01:01:44 lukem Exp $
2 # @(#)Makefile 8.1 (Berkeley) 6/11/93
6 SUBDIR= boggle mkdict mkindex
8 MKDICTDIR!= cd $(.CURDIR)/mkdict; ${PRINTOBJDIR}
9 MKDICT=${MKDICTDIR}/mkdict
10 MKINDEXDIR!= cd $(.CURDIR)/mkindex; ${PRINTOBJDIR}
11 MKINDEX=${MKINDEXDIR}/mkindex
12 WORDS=${NETBSDSRCDIR}/share/dict/web2
13 DICTFILES=dictionary dictindex
14 .if ${MKSHARE} != "no"
16 FILESDIR=/usr/share/games/boggle
18 CLEANFILES+=${DICTFILES}
23 @cd ${.CURDIR}/mkdict && ${MAKE}
26 @cd ${.CURDIR}/mkindex && ${MAKE}
28 dictionary: ${WORDS} ${MKDICT}
29 ${_MKMSG} " create ${.TARGET}"
33 ${MKDICT} < ${WORDS} > ${.TARGET}
35 dictindex: dictionary ${MKINDEX}
36 ${_MKMSG} " create ${.TARGET}"
40 ${MKINDEX} < dictionary > ${.TARGET}
42 .include <bsd.prog.mk>
43 .include <bsd.subdir.mk>