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