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>
master commit: 774c382b28
master date: 2025-11-13 09:08:27 +0100
This commit is contained in:
Jan Beulich committed 2025-11-25 09:38:33 +01:00
1 parent 1f03c2fd35
commit e2f2beb921
1 file changed
+2 -1
+2 -1
View File
@@ -264,7 +264,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.