summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSanjit Bhat <[email protected]>2023-10-03 15:40:54 -0500
committerSanjit Bhat <[email protected]>2023-10-03 15:40:54 -0500
commit9723a5f06fc2376bf3a2a8f2615557b0f7c47dcc (patch)
tree9492cb692e74c9b980de09f05a40852e6e336449 /Makefile
parent705f7d36d3fa94b87e6671f4577d4121a25647bd (diff)
downloadxv6-labs-9723a5f06fc2376bf3a2a8f2615557b0f7c47dcc.tar.gz
xv6-labs-9723a5f06fc2376bf3a2a8f2615557b0f7c47dcc.tar.bz2
xv6-labs-9723a5f06fc2376bf3a2a8f2615557b0f7c47dcc.zip
Makefile: more cleaning
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files 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