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

15 lines
190 B
Makefile
Raw Normal View History

2017-11-08 04:38:55 -05:00
OUTPUT = libk.a
2017-11-04 02:40:46 -04:00
2017-11-04 07:43:55 -04:00
OBJS = memset.o strlen.o itoa.o strncpy.o
2017-11-04 02:04:04 -04:00
all: $(OUTPUT)
clean:
rm -f $(OUTPUT) $(OBJS)
$(OUTPUT): $(OBJS)
$(AR) -rcs $@ $(OBJS)
%.o: %.c
$(CC) -c $< -o $@ $(CFLAGS)