1 1.22 lukem # $NetBSD: Makefile,v 1.22 2003/10/21 10:01:19 lukem Exp $ 2 1.1 jtc # @(#)Makefile 8.1 (Berkeley) 6/11/93 3 1.1 jtc 4 1.15 lukem .include <bsd.own.mk> 5 1.15 lukem 6 1.1 jtc SUBDIR= boggle mkdict mkindex 7 1.1 jtc 8 1.17 sommerfe MKDICTDIR!= cd $(.CURDIR)/mkdict; ${PRINTOBJDIR} 9 1.17 sommerfe MKDICT=${MKDICTDIR}/mkdict 10 1.17 sommerfe MKINDEXDIR!= cd $(.CURDIR)/mkindex; ${PRINTOBJDIR} 11 1.17 sommerfe MKINDEX=${MKINDEXDIR}/mkindex 12 1.19 lukem WORDS=${NETBSDSRCDIR}/share/dict/web2 13 1.18 thorpej DICTFILES=dictionary dictindex 14 1.15 lukem .if ${MKSHARE} != "no" 15 1.13 lukem FILES=${DICTFILES} 16 1.7 christos FILESDIR=/usr/share/games/boggle 17 1.13 lukem .endif 18 1.13 lukem CLEANFILES+=${DICTFILES} 19 1.2 pk 20 1.16 mycroft realall: ${FILES} 21 1.3 glass 22 1.9 christos ${MKDICT}: 23 1.9 christos @cd ${.CURDIR}/mkdict && ${MAKE} 24 1.9 christos 25 1.9 christos ${MKINDEX}: 26 1.9 christos @cd ${.CURDIR}/mkindex && ${MAKE} 27 1.7 christos 28 1.18 thorpej dictionary: ${WORDS} ${MKDICT} 29 1.22 lukem ${_MKTARGET_CREATE} 30 1.7 christos rm -f ${.TARGET} 31 1.7 christos ${MKDICT} < ${WORDS} > ${.TARGET} 32 1.7 christos 33 1.18 thorpej dictindex: dictionary ${MKINDEX} 34 1.22 lukem ${_MKTARGET_CREATE} 35 1.7 christos rm -f ${.TARGET} 36 1.18 thorpej ${MKINDEX} < dictionary > ${.TARGET} 37 1.7 christos 38 1.7 christos .include <bsd.prog.mk> 39 1.12 mycroft .include <bsd.subdir.mk> 40