implement basic string functions (memset, memcpy, etc)

This commit is contained in:
2025-03-14 19:38:41 +03:00
parent ab775bd958
commit e37c8462a6
4 changed files with 67 additions and 9 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
OBJS = bin/boot.o bin/kernel.o bin/idt.o bin/isr.o bin/screen.o bin/utils.o bin/string.o
# Define the compiler and assembler
CC = gcc
@@ -39,6 +39,9 @@ bin/idt.o: src/idt.c
bin/utils.o: src/utils.c
$(CC) $(CFLAGS) -c $< -o $@
bin/string.o: src/string.c
$(CC) $(CFLAGS) -c $< -o $@
clean:
rm -rf bin/
rm -f $(OUTPUT)