new: string.h

This commit is contained in:
fslongjin
2022-08-03 15:13:01 +08:00
parent aa7dc4daa5
commit d9ee6ea859
12 changed files with 191 additions and 120 deletions

View File

@ -10,7 +10,7 @@ $(kernel_common_subdirs): ECHO
$(MAKE) -C $@ all CFLAGS="$(CFLAGS)" ASFLAGS="$(ASFLAGS)" PIC="$(PIC)"
all: glib.o printk.o cpu.o bitree.o kfifo.o wait_queue.o mutex.o wait.o unistd.o $(kernel_common_subdirs)
all: glib.o printk.o cpu.o bitree.o kfifo.o wait_queue.o mutex.o wait.o unistd.o string.o $(kernel_common_subdirs)
glib.o: glib.c
@ -38,4 +38,7 @@ wait.o: sys/wait.c
gcc $(CFLAGS) -c sys/wait.c -o sys/wait.o
unistd.o: unistd.c
gcc $(CFLAGS) -c unistd.c -o unistd.o
gcc $(CFLAGS) -c unistd.c -o unistd.o
string.o: string.c
gcc $(CFLAGS) -c string.c -o string.o