]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - boggle/Makefile
Remove definition of __cputchar.
[bsdgames-darwin.git] / boggle / Makefile
1 # $NetBSD: Makefile,v 1.15 1999/02/13 02:54:20 lukem Exp $
2 # @(#)Makefile 8.1 (Berkeley) 6/11/93
3
4 .include <bsd.own.mk>
5
6 SUBDIR= boggle mkdict mkindex
7
8 MKDICT!=cd $(.CURDIR)/mkdict; \
9 printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkdict\n" | ${MAKE} -s -f-
10 MKINDEX!=cd $(.CURDIR)/mkindex; \
11 printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkindex\n" | ${MAKE} -s -f-
12 WORDS=${.CURDIR}/../../share/dict/web2
13 DICTFILES=${.OBJDIR}/dictionary ${.OBJDIR}/dictindex
14 .if ${MKSHARE} != "no"
15 FILES=${DICTFILES}
16 FILESDIR=/usr/share/games/boggle
17 .endif
18 CLEANFILES+=${DICTFILES}
19
20 all: ${FILES}
21
22 ${MKDICT}:
23 @cd ${.CURDIR}/mkdict && ${MAKE}
24
25 ${MKINDEX}:
26 @cd ${.CURDIR}/mkindex && ${MAKE}
27
28
29 ${.OBJDIR}/dictionary: ${WORDS} ${MKDICT}
30 rm -f ${.TARGET}
31 ${MKDICT} < ${WORDS} > ${.TARGET}
32
33 ${.OBJDIR}/dictindex: ${.OBJDIR}/dictionary ${MKINDEX}
34 rm -f ${.TARGET}
35 ${MKINDEX} < ${.OBJDIR}/dictionary > ${.TARGET}
36
37 .include <bsd.prog.mk>
38 .include <bsd.subdir.mk>