basekernel/library/Makefile

15 lines
315 B
Makefile
Raw Permalink Normal View History

2024-10-14 23:14:18 +02:00
include ../Makefile.config
LIBRARY_OBJECTS=errno.o syscall.o syscalls.o string.o stdio.o stdlib.o malloc.o kernel_object_string.o nwindow.o
all: user-start.o baselib.a
%.o: %.c
${CC} ${KERNEL_CCFLAGS} -I ../include $< -o $@
baselib.a: ${LIBRARY_OBJECTS}
${AR} rv $@ ${LIBRARY_OBJECTS}
clean:
rm -rf *.a *.o