add checks for immutability and append-only
[unix-history] / usr / src / old / boggle / Makefile
index b204555..b4e78c9 100644 (file)
@@ -1,12 +1,15 @@
-#      @(#)Makefile    5.13 (Berkeley) %G%
+#      @(#)Makefile    5.16 (Berkeley) %G%
 
 PROG=  boggle
 MAN6=  boggle.0
 DPADD= ${LIBCOMPAT}
 LDADD= -lcompat
 HIDEGAME=hidegame
 
 PROG=  boggle
 MAN6=  boggle.0
 DPADD= ${LIBCOMPAT}
 LDADD= -lcompat
 HIDEGAME=hidegame
+CLEANFILES=comp bogdict
 
 
-all: bogdict
+all: ${PROG} ${MAN6}
+
+boggle: bogdict
 
 bogdict: /usr/share/dict/words comp sfile
        sed -f ${.CURDIR}/sfile /usr/share/dict/words | uniq | ./comp >bogdict
 
 bogdict: /usr/share/dict/words comp sfile
        sed -f ${.CURDIR}/sfile /usr/share/dict/words | uniq | ./comp >bogdict