LDFLAGS := $(LDFLAGS) -Wall -Wextra -Werror -std=c++20 -ffreestanding
TO_ISO := isodir/boot/grub/grub.cfg
-TO_CLEAN := isodir amycros.iso
+TO_CLEAN := isodir isos.iso
include **/module.mk
-build: amycros.iso
+build: isos.iso
qemu: build
- qemu-system-x86_64 -cdrom amycros.iso -serial stdio -cpu qemu64,pdpe1gb -no-reboot $(QEMUFLAGS)
+ qemu-system-x86_64 -cdrom isos.iso -serial stdio -cpu qemu64,pdpe1gb -no-reboot $(QEMUFLAGS)
clean:
-rm -rf $(TO_CLEAN)
-amycros.iso: $(TO_ISO)
+isos.iso: $(TO_ISO)
grub-mkrescue -o "$@" isodir
isodir/boot/grub/grub.cfg: grub.cfg
# So, about the license. I don't think I have a copyright on this file's code, but,
# since I gave it the CC0 license in case I do, that doesn't matter either way.
-menuentry "Amycros" {
+menuentry "isos" {
multiboot2 /boot/kernel.elf64
module2 /boot/test-module.elf64 test-module
}