Re: sys/modules "make clean" seems broken again

From: John Baldwin <jhb_at_freebsd.org>
Date: Tue, 01 Dec 2015 13:17:48 -0800
On Tuesday, December 01, 2015 12:29:07 PM Simon J. Gerraty wrote:
> John Baldwin <jhb_at_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 .?

I'm going to go with the more complicated version just so
'make -V CLEANFILES' doesn't blow up in case someone wants to look at it.

-- 
John Baldwin
Received on Tue Dec 01 2015 - 20:46:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:01 UTC