Home | History | Annotate | Line # | Download | only in boggle
Makefile revision 1.16
      1  1.16   mycroft #	$NetBSD: Makefile,v 1.16 2000/01/23 22:08:53 mycroft 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.2        pk MKDICT!=cd $(.CURDIR)/mkdict; \
      9  1.11   mycroft 	printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkdict\n" | ${MAKE} -s -f-
     10   1.2        pk MKINDEX!=cd $(.CURDIR)/mkindex; \
     11  1.11   mycroft 	printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkindex\n" | ${MAKE} -s -f-
     12  1.10  christos WORDS=${.CURDIR}/../../share/dict/web2
     13  1.14   hubertf DICTFILES=${.OBJDIR}/dictionary ${.OBJDIR}/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.7  christos 
     29  1.14   hubertf ${.OBJDIR}/dictionary: ${WORDS} ${MKDICT}
     30   1.7  christos 	rm -f ${.TARGET}
     31   1.7  christos 	${MKDICT} < ${WORDS} > ${.TARGET}
     32   1.7  christos 
     33  1.14   hubertf ${.OBJDIR}/dictindex: ${.OBJDIR}/dictionary ${MKINDEX}
     34   1.7  christos 	rm -f ${.TARGET}
     35  1.14   hubertf 	${MKINDEX} < ${.OBJDIR}/dictionary > ${.TARGET}
     36   1.7  christos 
     37   1.7  christos .include <bsd.prog.mk>
     38  1.12   mycroft .include <bsd.subdir.mk>
     39