xref: /csrg-svn/old/boggle/Makefile (revision 60754)
1*60754Sbostic#	@(#)Makefile	8.1 (Berkeley) 05/31/93
29897Ssam
341614SbosticPROG=	boggle
441614SbosticMAN6=	boggle.0
541614SbosticDPADD=	${LIBCOMPAT}
641614SbosticLDADD=	-lcompat
741614SbosticHIDEGAME=hidegame
844847SbosticCLEANFILES=comp bogdict
99897Ssam
1052972Sbosticall: ${PROG} ${MAN6}
119897Ssam
1251715Sbosticboggle: bogdict
1351715Sbostic
1441614Sbosticbogdict: /usr/share/dict/words comp sfile
1541614Sbostic	sed -f ${.CURDIR}/sfile /usr/share/dict/words | uniq | ./comp >bogdict
169897Ssam
1741614Sbosticbeforeinstall:
1841614Sbostic	install -c -o ${BINOWN} -g ${BINGRP} -m 444 bogdict \
1941614Sbostic	    ${DESTDIR}/usr/share/games
2041614Sbosticcomp:
2141614Sbostic	${CC} -O ${.CURDIR}/comp.c -o ${.TARGET}
229897Ssam
2341614Sbostic.include <bsd.prog.mk>
24