From 082c028624b0f16699d4ea4bd7909c8646598688 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 23 Sep 2025 17:28:26 -0400 Subject: usr: libc: Add libc syscall interface Signed-off-by: Ian Moffett --- src/lib/libc/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/lib/libc/Makefile') diff --git a/src/lib/libc/Makefile b/src/lib/libc/Makefile index 3287084..adde835 100644 --- a/src/lib/libc/Makefile +++ b/src/lib/libc/Makefile @@ -2,13 +2,18 @@ OBJ = $(shell find build/ -name "*.o") LIBC_OUT = libc.a .PHONY: all -all: build target +all: build sys target ar rcs $(LIBC_OUT) $(OBJ) .PHONY: target target: cd $(TARGET); make CC=$(CC) LD=$(LD) AS=$(AS) +.PHONY: sys +sys: + mkdir -p include/sys/ + rsync -av ../../sys/include/sys/ include/sys/ + # Create build directory build: mkdir -p $@ -- cgit v1.2.3