kolibrios-gitea/programs/develop/ktcc/trunk/lib/libshell/Makefile
turbocat d38b3890d2 Added libshell for TCC
git-svn-id: svn://kolibrios.org@9207 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-26 19:56:07 +00:00

26 lines
367 B
Makefile

CC = kos32-tcc
AR = ar
CFLAGS = -c -I../../libc.obj/include
LIB = libshell.a
OBJS = \
shell_exit.o \
shell_puts.o \
shell_get_pid.o \
shell_ping.o \
shell_getc.o \
shell_cls.o \
shell_init.o \
shell_gets.o \
shell_printf.o \
shell_putc.o
$(LIB): $(OBJS)
$(AR) -crs $@ $(OBJS)
%.o : %.c Makefile
$(CC) $(CFLAGS) -o $@ $<
clean:
rm -rf $(OBJS) $(LIB)