add PIC code from osdev

This commit is contained in:
2025-03-19 13:10:41 +03:00
parent 22c7380c8d
commit 97598b96db
4 changed files with 86 additions and 1 deletions
+4 -1
View File
@@ -1,5 +1,5 @@
# Define the object files
OBJS = bin/boot.o bin/kernel.o bin/idt.o bin/isr.o bin/screen.o bin/utils.o bin/string.o bin/stdio.o bin/disk.o
OBJS = bin/boot.o bin/kernel.o bin/idt.o bin/isr.o bin/screen.o bin/utils.o bin/string.o bin/stdio.o bin/disk.o bin/pic.o
# Define the compiler and assembler
CC = gcc -D__is_katauos
@@ -58,6 +58,9 @@ bin/stdio.o: src/stdio.c
bin/disk.o: src/disk.c
$(CC) $(CFLAGS) -c $< -o $@
bin/pic.o: src/pic.c
$(CC) $(CFLAGS) -c $< -o $@
clean:
rm -rf bin/
rm -f $(OUTPUT)