Don't use beforedepend to complicate and break things. Just put

generated source files in SRCS.

Don't use MANDEPEND to complicate things.  Just put the generated
man page in CLEANFILES.

Partly fixed yacc header brokenness, as in ../eqn/Makefile.

Added temporary files to CLEANFILES.

Fixed some style bugs.
This commit is contained in:
Bruce Evans 1998-03-20 12:04:59 +00:00
parent 33c198cc5f
commit 71ab679790
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34702

View File

@ -1,16 +1,14 @@
# Makefile for pic
# $Id$
PROG= pic
SRCS= lex.cc main.cc object.cc common.cc troff.cc tex.cc
OBJS= pic.o
CFLAGS+= -I. -I${.CURDIR}/../include
LDADD+= ${LIBGROFF} -lm
DPADD+= ${LIBGROFF} ${LIBM}
SRCS= lex.cc main.cc object.cc pic.cc pic.tab.h \
common.cc troff.cc tex.cc
CFLAGS+= -I.
DPADD= ${LIBGROFF} ${LIBM}
LDADD= ${LIBGROFF} -lm
CLEANFILES= ${MAN1} pic.cc pic.tab.h y.tab.c y.tab.h
MANDEPEND= pic.1
CLEANFILES+= pic.cc pic.tab.h ${MANDEPEND}
beforedepend: pic.cc
pic.tab.h: pic.cc
.include "../Makefile.cfg"
.include <bsd.prog.mk>