mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-22 08:53:41 +01:00
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:
parent
33c198cc5f
commit
71ab679790
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34702
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user