Home | History | Annotate | Line # | Download | only in boggle
Makefile revision 1.13
      1  1.13     lukem #	$NetBSD: Makefile,v 1.13 1998/09/29 07:33:20 lukem 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.11   mycroft 	printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkdict\n" | ${MAKE} -s -f-
      8   1.2        pk MKINDEX!=cd $(.CURDIR)/mkindex; \
      9  1.11   mycroft 	printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkindex\n" | ${MAKE} -s -f-
     10  1.10  christos WORDS=${.CURDIR}/../../share/dict/web2
     11  1.13     lukem DICTFILES=dictionary dictindex
     12  1.13     lukem .if !defined(NOSHARE)
     13  1.13     lukem FILES=${DICTFILES}
     14   1.7  christos FILESDIR=/usr/share/games/boggle
     15  1.13     lukem .endif
     16  1.13     lukem CLEANFILES+=${DICTFILES}
     17   1.2        pk 
     18   1.7  christos all: ${FILES}
     19   1.3     glass 
     20   1.9  christos ${MKDICT}:
     21   1.9  christos 	@cd ${.CURDIR}/mkdict && ${MAKE}
     22   1.9  christos 
     23   1.9  christos ${MKINDEX}:
     24   1.9  christos 	@cd ${.CURDIR}/mkindex && ${MAKE}
     25   1.7  christos 	
     26   1.7  christos 
     27   1.9  christos dictionary: ${WORDS} ${MKDICT}
     28   1.7  christos 	rm -f ${.TARGET}
     29   1.7  christos 	${MKDICT} < ${WORDS} > ${.TARGET}
     30   1.7  christos 
     31   1.9  christos dictindex: dictionary ${MKINDEX}
     32   1.7  christos 	rm -f ${.TARGET}
     33   1.7  christos 	${MKINDEX} < dictionary > ${.TARGET}
     34   1.7  christos 
     35   1.7  christos .include <bsd.prog.mk>
     36  1.12   mycroft .include <bsd.subdir.mk>
     37