diff options
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/Makefile b/lib/Makefile index c34790d..85d1f34 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -1,15 +1,10 @@ include ../${ARCH}/toolchain.mk -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} $@ $^ -clean: - @rm -rf ${libk,OBJS} +include ../rules.mk + |