support MAKEVERBOSE

This commit is contained in:
lukem 2006-05-13 04:12:33 +00:00
parent dff2a78d7a
commit f2e1749b26

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2006/05/13 04:11:04 lukem Exp $
# $NetBSD: Makefile,v 1.5 2006/05/13 04:12:33 lukem Exp $
S= ${.CURDIR}/../../../../..
@ -57,6 +57,7 @@ ${OBJS}: machine x86
CLEANFILES+= ${PROG}.tmp
${PROG}: ${OBJS}
${_MKTARGET_LINK}
${CC} -o ${PROG}.tmp ${LDFLAGS} -Ttext ${PRIMARY_LOAD_ADDRESS} ${OBJS}
@ set -- $$( ${NM} -t d ${PROG}.tmp | grep '\<free_space\>' | sed 's/^0*//' ); \
echo "#### There are $$1 free bytes in ${PROG}"