1 # $NetBSD: Makefile,v 1.12 1997/10/11 09:34:16 mycroft Exp $
2 # @(#)Makefile 8.1 (Berkeley) 6/11/93
4 SUBDIR= boggle mkdict mkindex
6 MKDICT!=cd $(.CURDIR)/mkdict; \
7 printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkdict\n" | ${MAKE} -s -f-
8 MKINDEX!=cd $(.CURDIR)/mkindex; \
9 printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkindex\n" | ${MAKE} -s -f-
10 WORDS=${.CURDIR}/../../share/dict/web2
11 FILES=dictionary dictindex
12 FILESDIR=/usr/share/games/boggle
18 @cd ${.CURDIR}/mkdict && ${MAKE}
21 @cd ${.CURDIR}/mkindex && ${MAKE}
24 dictionary: ${WORDS} ${MKDICT}
26 ${MKDICT} < ${WORDS} > ${.TARGET}
28 dictindex: dictionary ${MKINDEX}
30 ${MKINDEX} < dictionary > ${.TARGET}
32 .include <bsd.prog.mk>
33 .include <bsd.subdir.mk>