From d529afbcd10e6d26537bfa4d4f758a92895b2531 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Sun, 24 Jun 1990 21:59:18 -0800 Subject: [PATCH] programs depend on libc, make clean better SCCS-vsn: usr.bin/plot/Makefile 4.16 --- usr/src/usr.bin/plot/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/usr/src/usr.bin/plot/Makefile b/usr/src/usr.bin/plot/Makefile index 46e4c64a02..ce8d621e6d 100644 --- a/usr/src/usr.bin/plot/Makefile +++ b/usr/src/usr.bin/plot/Makefile @@ -1,4 +1,4 @@ -# @(#)Makefile 4.15 (Berkeley) %G% +# @(#)Makefile 4.16 (Berkeley) %G% PROGS= tek t4013 t300 t300s t450 aedplot bgplot crtplot dumbplot gigiplot \ hpplot hp7221plot implot atoplot plottoa grnplot @@ -81,8 +81,7 @@ tek: driver.o ${LIB4014} ${LIBM} ${LIBCOMPAT} ${CC} ${CFLAGS} -o ${.TARGET} driver.o -l4014 -lm -lcompat clean: - rm -f a.out Errs errs mklog core ${PROGS} driver.o crtdriver.o \ - crtplot.o debug + rm -f a.out Errs errs mklog core ${PROGS} ${SRCS:.c=.o} debug cleandir: clean rm -f ${MAN1} ${.CURDIR}/tags .depend @@ -102,4 +101,6 @@ lint: ${SRCS} tags: ${SRCS} ctags -f ${.CURDIR}/tags ${.ALLSRC} +${PROGS}: ${LIBC} + .include -- 2.20.1