1 1.8 christos # $NetBSD: Makefile,v 1.8 1997/04/01 11:42:34 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.2 pk printf "xxx:\n\techo \$${.OBJDIR}/mkdict\n" | ${MAKE} -r -s -f - xxx 8 1.2 pk MKINDEX!=cd $(.CURDIR)/mkindex; \ 9 1.2 pk printf "xxx:\n\techo \$${.OBJDIR}/mkindex\n" | ${MAKE} -r -s -f - xxx 10 1.8 christos WORDS=${.CURDIR}/../../share/dict/web2a 11 1.7 christos FILES=dictionary dictindex 12 1.7 christos FILESDIR=/usr/share/games/boggle 13 1.7 christos CLEANFILES+=${FILES} 14 1.2 pk 15 1.7 christos all: ${FILES} 16 1.3 glass 17 1.7 christos ${MKDICT} ${MKINDEX}: ${SUBDIR} 18 1.7 christos 19 1.7 christos 20 1.8 christos dictionary: ${WORDS} 21 1.7 christos rm -f ${.TARGET} 22 1.7 christos ${MKDICT} < ${WORDS} > ${.TARGET} 23 1.7 christos 24 1.8 christos dictindex: dictionary 25 1.7 christos rm -f ${.TARGET} 26 1.7 christos ${MKINDEX} < dictionary > ${.TARGET} 27 1.7 christos 28 1.7 christos .include <bsd.prog.mk> 29