]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - boggle/Makefile
mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)
[bsdgames-darwin.git] / boggle / Makefile
1 # $NetBSD: Makefile,v 1.12 1997/10/11 09:34:16 mycroft Exp $
2 # @(#)Makefile 8.1 (Berkeley) 6/11/93
3
4 SUBDIR= boggle mkdict mkindex
5
6 MKDICT!=cd $(.CURDIR)/mkdict; \
7 printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkdict\n" | ${MAKE} -s -f-
8 MKINDEX!=cd $(.CURDIR)/mkindex; \
9 printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkindex\n" | ${MAKE} -s -f-
10 WORDS=${.CURDIR}/../../share/dict/web2
11 FILES=dictionary dictindex
12 FILESDIR=/usr/share/games/boggle
13 CLEANFILES+=${FILES}
14
15 all: ${FILES}
16
17 ${MKDICT}:
18 @cd ${.CURDIR}/mkdict && ${MAKE}
19
20 ${MKINDEX}:
21 @cd ${.CURDIR}/mkindex && ${MAKE}
22
23
24 dictionary: ${WORDS} ${MKDICT}
25 rm -f ${.TARGET}
26 ${MKDICT} < ${WORDS} > ${.TARGET}
27
28 dictindex: dictionary ${MKINDEX}
29 rm -f ${.TARGET}
30 ${MKINDEX} < dictionary > ${.TARGET}
31
32 .include <bsd.prog.mk>
33 .include <bsd.subdir.mk>