Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Dec 2015 12:29:07 -0800
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Warner Losh <imp@bsdimp.com>, Sean Bruno <sbruno@freebsd.org>, "FreeBSD Current" <freebsd-current@freebsd.org>, <sjg@juniper.net>
Subject:   Re: sys/modules "make clean" seems broken again
Message-ID:  <14468.1449001747@chaos>
In-Reply-To: <4121969.dQSZfNjpat@ralph.baldwin.cx>
References:  <564E0322.8050308@freebsd.org> <565CB176.4070906@freebsd.org> <CANCZdfo8%2B0rtu99cnCr5-gCJqMnVw7Srv-kV9jf3VNkCt-s2gg@mail.gmail.com> <4121969.dQSZfNjpat@ralph.baldwin.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin <jhb@freebsd.org> wrote:

> +CLEANFILES+=	${_MFILES:R:S/$/.c/} ${_MFILES:R:S/$/.h/}

Since CLEANFILES is given to rm, you can use globs

CLEANFILES+= ${_MFILES:R:S/$/.[ch]/} or .?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14468.1449001747>