Add initrd/boot/moon.elf and Luna.iso to the clean Makefile target

This commit is contained in:
apio 2022-09-18 20:20:51 +02:00
parent 99e681aeb4
commit cb311c4981
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,9 @@
build: $(LUNA_ROOT)/kernel/bin/moon.elf
clean: moon-clean
clean: moon-clean initrd-clean
build-clean:
rm initrd/boot/moon.elf Luna.iso
install: $(LUNA_ROOT)/initrd/boot/moon.elf

View File

@ -70,6 +70,7 @@ $(MOON_BIN)/moon.elf: $(OBJS)
moon-clean:
rm -rf $(MOON_OBJ)/*
rm -rf $(MOON_BIN)/*
$(LUNA_ROOT)/initrd/boot/moon.elf: $(MOON_BIN)/moon.elf
@mkdir -p $(@D)