do not forget to clean up!
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Tue, 18 Nov 1986 10:47:24 +0000 (02:47 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Tue, 18 Nov 1986 10:47:24 +0000 (02:47 -0800)
SCCS-vsn: games/Makefile 5.6

usr/src/games/Makefile

index 098114c..804afb0 100644 (file)
@@ -3,7 +3,7 @@
 # All rights reserved.  The Berkeley software License Agreement
 # specifies the terms and conditions for redistribution.
 #
 # All rights reserved.  The Berkeley software License Agreement
 # specifies the terms and conditions for redistribution.
 #
-#      @(#)Makefile    5.5 (Berkeley) %G%
+#      @(#)Makefile    5.6 (Berkeley) %G%
 #
 DESTDIR=
 CFLAGS=        -O
 #
 DESTDIR=
 CFLAGS=        -O
@@ -56,6 +56,7 @@ clean:
        rm -f a.out core *.s *.o
        -for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done
        rm -f ${STD} ${NSTD}
        rm -f a.out core *.s *.o
        -for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done
        rm -f ${STD} ${NSTD}
+       cd games.`machine`; make ${MFLAGS} DESTDIR=${DESTDIR} clean
 
 depend:
        for i in ${STD} ${NSTD}; do \
 
 depend:
        for i in ${STD} ${NSTD}; do \