diff --git a/.gitignore b/.gitignore
index 90bc52c977c97afbd4f1e3aed2ac925d872701d7..3e2c9deafe7948680a6ceb9b0ddd4a456bc9504a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,5 +11,6 @@ entryother
 initcode
 initcode.out
 kernel
+kernelmemfs
 mkfs
 .gdbinit
diff --git a/Makefile b/Makefile
index 3ce1cb45a12c8423f2f8d8fb855a3e1cb22a4dca..ca185ec4184719a44569388cae217acfa4dfeb3d 100644
--- a/Makefile
+++ b/Makefile
@@ -172,8 +172,9 @@ fs.img: mkfs README $(UPROGS)
 
 clean: 
 	rm -f *.tex *.dvi *.idx *.aux *.log *.ind *.ilg \
-	*.o *.d *.asm *.sym vectors.S parport.out \
-	bootblock entryother kernel xv6.img fs.img kernelmemfs mkfs \
+	*.o *.d *.asm *.sym vectors.S bootblock entryother \
+	initcode initcode.out kernel xv6.img fs.img kernelmemfs mkfs \
+	.gdbinit \
 	$(UPROGS)
 
 # make a printout