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.
This commit is contained in:
Bruce Evans 1998-03-20 12:05:50 +00:00
parent 71ab679790
commit e52ff61466
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34703

View file

@ -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 <bsd.prog.mk>