@@ -0,0 +1,14 @@
CC=x86_64-elf-gcc
CFLAGS=-ffreestanding -O2 -Wall -Wextra
LDFLAGS=-T linker.ld
all: os.bin
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@
os.bin: boot.o kernel.o
$(CC) $(LDFLAGS) $^ -o $@
clean:
rm -f *.o os.bin
The note is not visible to the blocked user.