include ../${ARCH}/toolchain.mk CCFLAGS += -I. -isystem../grub/include -I../${ARCH} -I../lib -I.. all: kernel.a conf.h: conf.h.in @cp conf.h.in conf.h @sed -i 's/@VERSION@/$(shell git describe)/' conf.h @sed -i 's/@CC@/$(shell ${CC} --version | head -n1)/' conf.h kernel,SRCS := multiboot2.c mmap.c kernel.c mem/vmm.c kernel,OBJS := conf.h include ../rules.mk