Makefile revision 1.13
1# $NetBSD: Makefile,v 1.13 1998/09/29 07:33:20 lukem Exp $ 2# @(#)Makefile 8.1 (Berkeley) 6/11/93 3 4SUBDIR= boggle mkdict mkindex 5 6MKDICT!=cd $(.CURDIR)/mkdict; \ 7 printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkdict\n" | ${MAKE} -s -f- 8MKINDEX!=cd $(.CURDIR)/mkindex; \ 9 printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkindex\n" | ${MAKE} -s -f- 10WORDS=${.CURDIR}/../../share/dict/web2 11DICTFILES=dictionary dictindex 12.if !defined(NOSHARE) 13FILES=${DICTFILES} 14FILESDIR=/usr/share/games/boggle 15.endif 16CLEANFILES+=${DICTFILES} 17 18all: ${FILES} 19 20${MKDICT}: 21 @cd ${.CURDIR}/mkdict && ${MAKE} 22 23${MKINDEX}: 24 @cd ${.CURDIR}/mkindex && ${MAKE} 25 26 27dictionary: ${WORDS} ${MKDICT} 28 rm -f ${.TARGET} 29 ${MKDICT} < ${WORDS} > ${.TARGET} 30 31dictindex: dictionary ${MKINDEX} 32 rm -f ${.TARGET} 33 ${MKINDEX} < dictionary > ${.TARGET} 34 35.include <bsd.prog.mk> 36.include <bsd.subdir.mk> 37