1 1.10 christos # $NetBSD: Makefile,v 1.10 1997/04/30 20:07:40 christos Exp $ 2 1.1 jtc # @(#)Makefile 8.1 (Berkeley) 6/11/93 3 1.1 jtc 4 1.1 jtc SUBDIR= boggle mkdict mkindex 5 1.1 jtc 6 1.2 pk MKDICT!=cd $(.CURDIR)/mkdict; \ 7 1.9 christos printf "xxx:\n\techo \$${.OBJDIR}/mkdict\n" | \ 8 1.9 christos ${MAKE} -r -s -f - xxx | grep mkdict 9 1.2 pk MKINDEX!=cd $(.CURDIR)/mkindex; \ 10 1.9 christos printf "xxx:\n\techo \$${.OBJDIR}/mkindex\n" | \ 11 1.9 christos ${MAKE} -r -s -f - xxx | grep mkindex 12 1.10 christos WORDS=${.CURDIR}/../../share/dict/web2 13 1.7 christos FILES=dictionary dictindex 14 1.7 christos FILESDIR=/usr/share/games/boggle 15 1.7 christos CLEANFILES+=${FILES} 16 1.2 pk 17 1.7 christos all: ${FILES} 18 1.3 glass 19 1.9 christos ${MKDICT}: 20 1.9 christos @cd ${.CURDIR}/mkdict && ${MAKE} 21 1.9 christos 22 1.9 christos ${MKINDEX}: 23 1.9 christos @cd ${.CURDIR}/mkindex && ${MAKE} 24 1.7 christos 25 1.7 christos 26 1.9 christos dictionary: ${WORDS} ${MKDICT} 27 1.7 christos rm -f ${.TARGET} 28 1.7 christos ${MKDICT} < ${WORDS} > ${.TARGET} 29 1.7 christos 30 1.9 christos dictindex: dictionary ${MKINDEX} 31 1.7 christos rm -f ${.TARGET} 32 1.7 christos ${MKINDEX} < dictionary > ${.TARGET} 33 1.7 christos 34 1.7 christos .include <bsd.prog.mk> 35