initial commit

This commit is contained in:
2025-03-21 19:55:17 -07:00
commit 92049a5736
15 changed files with 96 additions and 0 deletions

14
make Normal file
View File

@@ -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