From 05f879242cedc51b52d70804261f502a94ac5893 Mon Sep 17 00:00:00 2001 From: hubertf Date: Mon, 9 Nov 1998 15:30:10 +0000 Subject: make objdir-aware --- boggle/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'boggle/Makefile') diff --git a/boggle/Makefile b/boggle/Makefile index 60834e06..26929987 100644 --- a/boggle/Makefile +++ b/boggle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 1998/09/29 07:33:20 lukem Exp $ +# $NetBSD: Makefile,v 1.14 1998/11/09 15:30:10 hubertf Exp $ # @(#)Makefile 8.1 (Berkeley) 6/11/93 SUBDIR= boggle mkdict mkindex @@ -8,7 +8,7 @@ MKDICT!=cd $(.CURDIR)/mkdict; \ MKINDEX!=cd $(.CURDIR)/mkindex; \ printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkindex\n" | ${MAKE} -s -f- WORDS=${.CURDIR}/../../share/dict/web2 -DICTFILES=dictionary dictindex +DICTFILES=${.OBJDIR}/dictionary ${.OBJDIR}/dictindex .if !defined(NOSHARE) FILES=${DICTFILES} FILESDIR=/usr/share/games/boggle @@ -24,13 +24,13 @@ ${MKINDEX}: @cd ${.CURDIR}/mkindex && ${MAKE} -dictionary: ${WORDS} ${MKDICT} +${.OBJDIR}/dictionary: ${WORDS} ${MKDICT} rm -f ${.TARGET} ${MKDICT} < ${WORDS} > ${.TARGET} -dictindex: dictionary ${MKINDEX} +${.OBJDIR}/dictindex: ${.OBJDIR}/dictionary ${MKINDEX} rm -f ${.TARGET} - ${MKINDEX} < dictionary > ${.TARGET} + ${MKINDEX} < ${.OBJDIR}/dictionary > ${.TARGET} .include .include -- cgit v1.2.3-56-ge451