Add a CLEANFILES line to remove the generated file defs.h

This commit is contained in:
veego 2008-07-20 14:36:52 +00:00
parent 762e875434
commit 5eea48350f

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2008/05/01 15:33:33 jmmv Exp $
# $NetBSD: Makefile,v 1.2 2008/07/20 14:36:52 veego Exp $
NOLINT= # defined
@ -72,6 +72,8 @@ INCSDIR_atf-c.h=/usr/include
MAN= # empty
CLEANFILES+= defs.h
defs.h: defs.h.in
sed -e 's,@ATTRIBUTE_NORETURN@,__attribute__((noreturn)),g' \
<${SRCDIR}/atf-c/defs.h.in >defs.h.tmp