Makefile revision 1.7
1# $NetBSD: Makefile,v 1.7 1997/03/24 22:15:38 christos Exp $ 2# @(#)Makefile 8.1 (Berkeley) 6/11/93 3 4SUBDIR= boggle mkdict mkindex 5 6MKDICT!=cd $(.CURDIR)/mkdict; \ 7 printf "xxx:\n\techo \$${.OBJDIR}/mkdict\n" | ${MAKE} -r -s -f - xxx 8MKINDEX!=cd $(.CURDIR)/mkindex; \ 9 printf "xxx:\n\techo \$${.OBJDIR}/mkindex\n" | ${MAKE} -r -s -f - xxx 10WORDS=${DESTDIR}/usr/share/dict/words 11FILES=dictionary dictindex 12FILESDIR=/usr/share/games/boggle 13CLEANFILES+=${FILES} 14 15all: ${FILES} 16 17${MKDICT} ${MKINDEX}: ${SUBDIR} 18 19 20dictionary: ${MKDICT} ${WORDS} 21 rm -f ${.TARGET} 22 ${MKDICT} < ${WORDS} > ${.TARGET} 23 24dictindex: ${MKINDEX} dictionary 25 rm -f ${.TARGET} 26 ${MKINDEX} < dictionary > ${.TARGET} 27 28.include <bsd.prog.mk> 29