diff options
author | Ian Moffett <ian@osmora.org> | 2025-09-23 17:28:26 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-09-23 17:28:26 -0400 |
commit | 082c028624b0f16699d4ea4bd7909c8646598688 (patch) | |
tree | d9ed3617fbc647740c62e0f39fd93b64109f8a13 /src/lib/libc/Makefile | |
parent | 0d2c8a069ac2fddf44c7f1746095114fc2626df2 (diff) |
usr: libc: Add libc syscall interface
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/lib/libc/Makefile')
-rw-r--r-- | src/lib/libc/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
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 $@ |