make 'clean' and/or 'cleandir' actually clean all the things.

This commit is contained in:
mrg 2018-05-31 09:08:25 +00:00
parent 244692fac0
commit 5d873ca56c
5 changed files with 11 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2018/04/07 15:49:50 christos Exp $
# $NetBSD: Makefile,v 1.19 2018/05/31 09:08:25 mrg Exp $
.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
PROG= iasl
@ -325,6 +325,8 @@ CLEANFILES+= aslcompilerparse.y aslcompilerparse.c \
prparserparse.h \
prparserlex.l prparserlex.c \
prparser.y.h prparserparse.output \
\
y.output y.tab.h
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.15 2017/01/24 23:26:58 christos Exp $
# $NetBSD: Makefile,v 1.16 2018/05/31 09:08:25 mrg Exp $
USE_SHLIBDIR=yes
.include <bsd.own.mk>
@ -153,7 +153,7 @@ scanner.d scanner.o: tokdefs.h
tokdefs.h: grammar.h
cp $? $@
CLEANFILES+= tokdefs.h
CLEANFILES+= tokdefs.h scanner.h
COPTS.bpf_image.c = -Wno-format-nonliteral
.include <bsd.lib.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.4 2018/03/13 03:07:51 mrg Exp $
# $NetBSD: Makefile.inc,v 1.5 2018/05/31 09:08:25 mrg Exp $
.include "../Makefile.inc"
@ -28,6 +28,6 @@ ${PROG}.8: ${PROG}.8.in __subst
.if defined(SCRIPTS)
.PATH: ${UNBOUND}/smallapp
CLEANFILES+=${SCRIPTS}.sh
CLEANFILES+=${SCRIPTS}.sh ${SCRIPTS}
${SCRIPTS}.sh: ${SCRIPTS}.sh.in __subst
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2017/06/08 18:57:21 skrll Exp $
# $NetBSD: Makefile,v 1.3 2018/05/31 09:08:25 mrg Exp $
NOMAN= # defined
@ -15,6 +15,7 @@ CPPFLAGS+= -I${LIBFDTDIST}
SRCS+= ${DTC_SRCS} dtc-lexer.l dtc-parser.y
YFLAGS+= -d -L
CLEANFILES+= dtc-parser.h
.PATH: ${DTCDIST}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2012/07/22 20:38:20 joerg Exp $
# $NetBSD: Makefile,v 1.2 2018/05/31 09:08:26 mrg Exp $
NOMAN= # defined
@ -10,6 +10,7 @@ TESTS_SH= t_nbperf
SCRIPTSDIR= ${TESTSDIR}
SCRIPTS+= h_nbperf
CLEANFILES+= h_nbperf
FILESDIR= ${TESTSDIR}
FILES= hash_driver.c