diff options
| author | Ian Moffett <ian@osmora.org> | 2025-12-21 17:14:52 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-12-21 17:14:52 -0500 |
| commit | ea8882dd7c024db436e25e86ac3d3fa3b3e43aa0 (patch) | |
| tree | 1fbbecbc43c057f74c959e7e2a63ecb25a548951 /usr/sdk/Makefile | |
| parent | 580df110a231be68c64f5fe061e12fae9fbcc4cd (diff) | |
usr: sdk: Add initial string lib sources + strlen
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr/sdk/Makefile')
| -rw-r--r-- | usr/sdk/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/usr/sdk/Makefile b/usr/sdk/Makefile new file mode 100644 index 0000000..9a5cc73 --- /dev/null +++ b/usr/sdk/Makefile @@ -0,0 +1,21 @@ +# +# Copyright (c) 2025, Ian Moffett. +# Provided under the BSD-3 clause. +# + +CFILES = $(shell find common/ -name "*.c") +OFILES = $(CFILES:.c=.o) + +CC = +LD = + +ARCH = +SYS_CFLAGS = +CFLAGS = $(SYS_CFLAGS) -Iinc/ + +.PHONY: all +all: $(OFILES) + $(AR) rcs libmos.a $(OFILES) + +%.o: %.c + $(CC) -c $(CFLAGS) $< -o $@ |
