mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 8 additions and 10 deletions
|
|
@ -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 a new issue