On Wed, Jul 07, 2021 at 05:03:12PM +0200, Jan Beulich wrote: > On 01.07.2021 16:09, Anthony PERARD wrote: > > Signed-off-by: Anthony PERARD <anthony.per...@citrix.com> > > Hmm, I was clearly under the impression (or at least assuming) > that $(targets) would be included in what gets cleaned by the > general rule.
Unfortunately, that not true for two reasons, the first is that `make clean` doesn't actually remove anything from $(targets), but that could be changed as Linux does remove files listed in $(targets). The second is that `make clean` doesn't actually use anything from "Rules.mk" and doesn't include it, so when running `make clean`, "lib.a" is never in $(targets). > Acked-by: Jan Beulich <jbeul...@suse.com> Thanks, -- Anthony PERARD