summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile10
2 files changed, 5 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 5c33438..29977c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,3 +23,4 @@ ph
barrier
/lab-*.json
.DS_Store
+*.dSYM
diff --git a/Makefile b/Makefile
index 365c91b..473a471 100644
--- a/Makefile
+++ b/Makefile
@@ -265,14 +265,12 @@ fs.img: mkfs/mkfs README $(UEXTRA) $(UPROGS)
-include kernel/*.d user/*.d
-clean:
- rm -f *.tex *.dvi *.idx *.aux *.log *.ind *.ilg \
+clean:
+ rm -f *.tex *.dvi *.idx *.aux *.log *.ind *.ilg *.dSYM *.zip \
*/*.o */*.d */*.asm */*.sym \
- $U/initcode $U/initcode.out $K/kernel fs.img \
- mkfs/mkfs .gdbinit \
- $U/usys.S \
+ $U/initcode $U/initcode.out $K/kernel $U/usys.S \
+ mkfs/mkfs fs.img .gdbinit \
$(UPROGS) \
- *.zip \
ph barrier
# try to generate a unique GDB port