John Baldwin <j...@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 .?

_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to