From e52ff61466040eb1c62031431da553304ed5bf25 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Fri, 20 Mar 1998 12:05:50 +0000 Subject: [PATCH] Put generated source files in SRCS. This fixes races generating the source files. E.g., the stale version of locate.cc in the source directory was sometimes used. We didn't even use beforedepend. Added temporary files to CLEANFILES. Fixed some style bugs. --- gnu/usr.bin/groff/refer/Makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/gnu/usr.bin/groff/refer/Makefile b/gnu/usr.bin/groff/refer/Makefile index ac8d5f059e53..512deb075601 100644 --- a/gnu/usr.bin/groff/refer/Makefile +++ b/gnu/usr.bin/groff/refer/Makefile @@ -1,14 +1,11 @@ -# Makefile for refer +# $Id$ PROG= refer -SRCS= command.cc ref.cc refer.cc token.cc -OBJS= label.o -CFLAGS+= -I. -I${.CURDIR}/../include -LDADD+= ${LIBBIB} ${LIBGROFF} -lm -DPADD+= ${LIBBIB} ${LIBGROFF} ${LIBM} - -MANDEPEND= refer.1 -CLEANFILES+= label.cc label.tab.h ${MANDEPEND} +SRCS= command.cc label.cc ref.cc refer.cc token.cc +CFLAGS+= -I${.CURDIR}/../include +DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM} +LDADD= ${LIBBIB} ${LIBGROFF} -lm +CLEANFILES= label.cc label.tab.h ${MAN1} y.tab.c y.tab.h .include "../Makefile.cfg" .include