forked from KolibriOS/kolibrios
d38b3890d2
git-svn-id: svn://kolibrios.org@9207 a494cfbc-eb01-0410-851d-a64ba20cac60
26 lines
367 B
Makefile
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)
|