sys/modules "make clean" seems broken again

John Baldwin jhb at freebsd.org
Tue Dec 1 21:46:40 UTC 2015


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


More information about the freebsd-current mailing list