if SHAREDSTRINGS defined, clean up the "strings" file
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 25 Jun 1990 06:13:29 +0000 (22:13 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 25 Jun 1990 06:13:29 +0000 (22:13 -0800)
SCCS-vsn: share/mk/bsd.prog.mk 5.19

usr/src/share/mk/bsd.prog.mk

index f084eb2..cac1bf7 100644 (file)
@@ -1,4 +1,4 @@
-#      @(#)bsd.prog.mk 5.18 (Berkeley) %G%
+#      @(#)bsd.prog.mk 5.19 (Berkeley) %G%
 
 .if exists(${.CURDIR}/../Makefile.inc)
 .include "${.CURDIR}/../Makefile.inc"
 
 .if exists(${.CURDIR}/../Makefile.inc)
 .include "${.CURDIR}/../Makefile.inc"
@@ -35,6 +35,7 @@ LIBTERM?=     /usr/lib/libterm.a
 LIBUTIL?=      /usr/lib/libutil.a
 
 .if defined(SHAREDSTRINGS)
 LIBUTIL?=      /usr/lib/libutil.a
 
 .if defined(SHAREDSTRINGS)
+CLEANFILES+=strings
 .c.o:
        ${CC} -E ${CFLAGS} ${.IMPSRC} | xstr -c -
        @${CC} ${CFLAGS} -c x.c -o ${.TARGET}
 .c.o:
        ${CC} -E ${CFLAGS} ${.IMPSRC} | xstr -c -
        @${CC} ${CFLAGS} -c x.c -o ${.TARGET}