Home | History | Annotate | Line # | Download | only in boggle
Makefile revision 1.7
      1  1.7  christos #	$NetBSD: Makefile,v 1.7 1997/03/24 22:15:38 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.7  christos WORDS=${DESTDIR}/usr/share/dict/words
     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.7  christos dictionary: ${MKDICT} ${WORDS}
     21  1.7  christos 	rm -f ${.TARGET}
     22  1.7  christos 	${MKDICT} < ${WORDS} > ${.TARGET}
     23  1.7  christos 
     24  1.7  christos dictindex: ${MKINDEX} 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