Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
9207 turbocat 1
CC = kos32-tcc
2
AR = ar
3
CFLAGS = -c -I../../libc.obj/include
4
 
5
LIB = libshell.a
6
 
7
OBJS = \
8
	shell_exit.o \
9
	shell_puts.o \
10
	shell_get_pid.o \
11
	shell_ping.o \
12
	shell_getc.o \
13
	shell_cls.o \
14
	shell_init.o \
15
	shell_gets.o \
16
	shell_printf.o \
17
	shell_putc.o
18
 
19
$(LIB): $(OBJS)
20
	$(AR) -crs $@ $(OBJS)
21
 
22
%.o : %.c Makefile
23
	$(CC) $(CFLAGS) -o $@ $<
24
 
25
clean:
26
	rm -rf $(OBJS) $(LIB)