x86emul/test: extend cleaning of generated files

Many *.c files are symlinked while building, so along with generated *.h
files they ought to be removed. Conversely $(TARGET) doesn't need removing
twice.

Fixes: cb4fcf70b2 ("x86emul: parallelize SIMD test code building")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
Jan Beulich committed 2025-11-13 09:08:27 +01:00
1 parent 781cf8affe
commit 774c382b28
1 file changed
+2 -1
+2 -1
View File
@@ -261,7 +261,8 @@ $(TARGET): $(OBJS)
.PHONY: clean
clean:
rm -rf $(TARGET) *.o *~ core *.bin x86_emulate
rm -rf $(TARGET) $(addsuffix .h,$(TESTCASES)) $(addsuffix -opmask.h,$(OPMASK))
rm -rf $(addsuffix .h,$(TESTCASES)) $(addsuffix -opmask.h,$(OPMASK))
rm -rf $(addsuffix .c,$(filter-out blowfish,$(TESTCASES)))
.PHONY: distclean
distclean: clean
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.