130ab7336b
* Don't bother prefixing commands with a line of ${_MKCMD}\ and instead rely upon "make -s". This is less intrusive on all the Makefiles than the former. Idea from David Laight. * Rename the variables use to print messages. The scheme now is: _MKMSG_FOO Run _MKMSG 'foo' _MKTARGET_FOO Run _MKMSG_FOO ${.TARGET} From discussion with Alistair Crooks.
16 lines
319 B
Makefile
16 lines
319 B
Makefile
# $NetBSD: Makefile,v 1.14 2003/10/21 10:01:20 lukem Exp $
|
|
|
|
PROG= c++filt
|
|
CPPFLAGS+= -DMAIN
|
|
CLEANFILES+= c++filt.1
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.include "${.CURDIR}/../common/Makefile.prog"
|
|
|
|
.PATH: ${DIST}/libiberty
|
|
|
|
c++filt.1: ${DIST}/binutils/doc/cxxfilt.man
|
|
${_MKTARGET_CREATE}
|
|
sed -e "s/@PROGRAM@/${PROG}/" < $> > $@
|