add basic stdio

This commit is contained in:
2025-03-14 20:18:26 +03:00
parent e37c8462a6
commit 294111bf41
5 changed files with 124 additions and 5 deletions
+5 -2
View File
@@ -1,8 +1,8 @@
# 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
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
# Define the compiler and assembler
CC = gcc
CC = gcc -D__is_katauos
AS = nasm
# Define the compiler flags
@@ -42,6 +42,9 @@ bin/utils.o: src/utils.c
bin/string.o: src/string.c
$(CC) $(CFLAGS) -c $< -o $@
bin/stdio.o: src/stdio.c
$(CC) $(CFLAGS) -c $< -o $@
clean:
rm -rf bin/
rm -f $(OUTPUT)