1 # $NetBSD: Makefile,v 1.22 2003/10/21 10:01:19 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}
31 ${MKDICT} < ${WORDS} > ${.TARGET}
33 dictindex: dictionary ${MKINDEX}
36 ${MKINDEX} < dictionary > ${.TARGET}
38 .include <bsd.prog.mk>
39 .include <bsd.subdir.mk>