Makefile: Add clean target

This commit is contained in:
Ry 2023-03-15 17:02:55 -07:00
parent 189f54dac4
commit 76d669bfda

View File

@ -82,3 +82,6 @@ romdisk.img: $(BOOTLOADER) $(ROM_FILES)
$(RYFS) -s $(ROM_IMAGE_SIZE) -l romdisk -b $(BOOTLOADER) create $@.tmp $(RYFS) -s $(ROM_IMAGE_SIZE) -l romdisk -b $(BOOTLOADER) create $@.tmp
for file in $(ROM_FILES); do $(RYFS) add $@.tmp $$file; done for file in $(ROM_FILES); do $(RYFS) add $@.tmp $$file; done
mv $@.tmp $@ mv $@.tmp $@
clean:
rm -f $(FILES)