:: commit 960549377b7f151e0dcfda76a0d8fb646a8e82fd

mintsuki <mintsuki@protonmail.com> — 2021-02-20 22:15

parents: 524829370d

misc: Fix makefile clean targets

diff --git a/Makefile b/Makefile
index fac6d112..524aac02 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ limine_sys.o: limine.bin
 	$(OBJCOPY) -B i8086 -I binary -O default limine.sys limine_sys.o
 
 clean:
-	rm -f limine.o limine-install
+	rm -f limine.o limine_sys.o limine-install
 
 install: all
 	install -d $(DESTDIR)$(PREFIX)/bin
diff --git a/stage2/Makefile b/stage2/Makefile
index e11c98f9..7fce155f 100644
--- a/stage2/Makefile
+++ b/stage2/Makefile
@@ -72,4 +72,4 @@ stage2.elf: $(OBJ)
 	nasm $< -f elf32 -o $@
 
 clean:
-	rm -f symlist.gen stage2.map stage2.bin stage2.elf stage3.bin $(OBJ) $(HEADER_DEPS)
+	rm -f symlist.gen stages.bin stage2.map stage2.bin stage2.elf stage3.bin $(OBJ) $(HEADER_DEPS)
tab: 248 wrap: offon