mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
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:
parent
71ab679790
commit
e52ff61466
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34703
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user