mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-20 19:04:49 +00:00
Initial revision
git-svn-id: file:///srv/svn/joey/bsdgames-trunk@5086 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
33
boggle/Makefile.bsd
Normal file
33
boggle/Makefile.bsd
Normal file
@@ -0,0 +1,33 @@
|
||||
# $NetBSD: Makefile,v 1.12 1997/10/11 09:34:16 mycroft Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/11/93
|
||||
|
||||
SUBDIR= boggle mkdict mkindex
|
||||
|
||||
MKDICT!=cd $(.CURDIR)/mkdict; \
|
||||
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkdict\n" | ${MAKE} -s -f-
|
||||
MKINDEX!=cd $(.CURDIR)/mkindex; \
|
||||
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkindex\n" | ${MAKE} -s -f-
|
||||
WORDS=${.CURDIR}/../../share/dict/web2
|
||||
FILES=dictionary dictindex
|
||||
FILESDIR=/usr/share/games/boggle
|
||||
CLEANFILES+=${FILES}
|
||||
|
||||
all: ${FILES}
|
||||
|
||||
${MKDICT}:
|
||||
@cd ${.CURDIR}/mkdict && ${MAKE}
|
||||
|
||||
${MKINDEX}:
|
||||
@cd ${.CURDIR}/mkindex && ${MAKE}
|
||||
|
||||
|
||||
dictionary: ${WORDS} ${MKDICT}
|
||||
rm -f ${.TARGET}
|
||||
${MKDICT} < ${WORDS} > ${.TARGET}
|
||||
|
||||
dictindex: dictionary ${MKINDEX}
|
||||
rm -f ${.TARGET}
|
||||
${MKINDEX} < dictionary > ${.TARGET}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include <bsd.subdir.mk>
|
||||
Reference in New Issue
Block a user