Fix make clean

This commit is contained in:
Nero 2019-09-21 18:18:20 +00:00
parent 54149839a3
commit d19ba03cfd
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -4,3 +4,5 @@
*.com *.com
*.rom *.rom
*.lst *.lst
*.exe
*.log

View File

@ -45,7 +45,7 @@ hdimage.img: boot/mbr.bs fdimage.img
cat boot/mbr.bs fdimage.img >$@ cat boot/mbr.bs fdimage.img >$@
clean: clean:
rm -f *.com *.bin *.rom *.img *.log *.bs *.lst programs/*.com rm -f $$(cat .gitignore) programs/*.com boot/*.bs
qemu-floppy: fdimage.img $(ROMS) qemu-floppy: fdimage.img $(ROMS)
$(QEMU) $(QEMU_ARGS) -boot c -fda fdimage.img $(QEMU) $(QEMU_ARGS) -boot c -fda fdimage.img