1 # $NetBSD: Makefile,v 1.14 1998/11/09 15:30:10 hubertf 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 DICTFILES=${.OBJDIR}/dictionary ${.OBJDIR}/dictindex
14 FILESDIR=/usr/share/games/boggle
16 CLEANFILES+=${DICTFILES}
21 @cd ${.CURDIR}/mkdict && ${MAKE}
24 @cd ${.CURDIR}/mkindex && ${MAKE}
27 ${.OBJDIR}/dictionary: ${WORDS} ${MKDICT}
29 ${MKDICT} < ${WORDS} > ${.TARGET}
31 ${.OBJDIR}/dictindex: ${.OBJDIR}/dictionary ${MKINDEX}
33 ${MKINDEX} < ${.OBJDIR}/dictionary > ${.TARGET}
35 .include <bsd.prog.mk>
36 .include <bsd.subdir.mk>