# Toolchain TARGET := i686-elf AS := clang AS_FLAGS := LD := ld.lld LD_FLAGS := -T linker.ld CXX := clang++ CXX_FLAGS := -std=c++20 -ffreestanding -nostdlib -nostdinc -nostdinc++ \ -fno-exceptions -fno-rtti -Wall -Wextra -Werror=pedantic -O2 \ -Werror=date-time \ -Werror=shadow-all \ -Wnon-virtual-dtor \ -Wold-style-cast -Wconversion \ -Wconsumed CXX_INCLUDE := $(CURDIR)/libk CXX_SYSTEM_INCLUDE := $(CURDIR)/grub # BOOT := grub-mkrescue EMU := qemu-system-i386 -cdrom