From d19ba03cfd1b82a23fbd1683c54c36f8ae9d9cf1 Mon Sep 17 00:00:00 2001 From: Ain <41307858+nero@users.noreply.github.com> Date: Sat, 21 Sep 2019 18:18:20 +0000 Subject: [PATCH] Fix make clean --- .gitignore | 2 ++ Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7e4cb3d..6093e0f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ *.com *.rom *.lst +*.exe +*.log diff --git a/Makefile b/Makefile index 534b696..c70e00f 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ hdimage.img: boot/mbr.bs fdimage.img cat boot/mbr.bs fdimage.img >$@ 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) $(QEMU_ARGS) -boot c -fda fdimage.img