diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-10-29 14:57:25 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-10-29 15:06:41 +0300 |
commit | 0fc5be1c91be5a2da53bfba58ebe690993448640 (patch) | |
tree | 4f793516fc086e659bfdbc47bfc73610cefc4424 /lib | |
parent | makefile: add devices/devs.a target (diff) | |
download | kernel-0fc5be1c91be5a2da53bfba58ebe690993448640.tar.xz |
makefile: add src/kernel.a target
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index 3a5fff9..22c090c 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -3,11 +3,14 @@ include ../rules.mk CCFLAGS += -I. -I.. +all: libk.a + libk,SRCS = memcpy.c memset.c stdio/printf.c string/itoa.c libk,OBJS = $(libk,SRCS:%.c=%.o) libk.a: ${libk,OBJS} @echo ' AR $@' @${AR} ${ARFLAGS} $@ $^ + i686-elf-ranlib $@ clean: @rm -rf ${libk,OBJS} |