1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2024-10-30 12:03:52 -04:00
kernel/libk/Makefile

14 lines
190 B
Makefile

OUTPUT = libk.a
OBJS = memset.o strlen.o itoa.o strncpy.o
all: $(OUTPUT)
clean:
rm -f $(OUTPUT) $(OBJS)
$(OUTPUT): $(OBJS)
$(AR) -rcs $@ $(OBJS)
%.o: %.c
$(CC) -c $< -o $@ $(CFLAGS)