From 9723a5f06fc2376bf3a2a8f2615557b0f7c47dcc Mon Sep 17 00:00:00 2001 From: Sanjit Bhat Date: Tue, 3 Oct 2023 15:40:54 -0500 Subject: Makefile: more cleaning --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 473a471..cced70f 100644 --- a/Makefile +++ b/Makefile @@ -266,10 +266,11 @@ fs.img: mkfs/mkfs README $(UEXTRA) $(UPROGS) -include kernel/*.d user/*.d clean: - rm -f *.tex *.dvi *.idx *.aux *.log *.ind *.ilg *.dSYM *.zip \ + rm -rf *.tex *.dvi *.idx *.aux *.log *.ind *.ilg *.dSYM *.zip \ */*.o */*.d */*.asm */*.sym \ - $U/initcode $U/initcode.out $K/kernel $U/usys.S \ - mkfs/mkfs fs.img .gdbinit \ + $U/initcode $U/initcode.out $U/usys.S $U/_* \ + $K/kernel \ + mkfs/mkfs fs.img .gdbinit __pycache__ xv6.out* \ $(UPROGS) \ ph barrier -- cgit v1.2.3