Prevent an unwanted action which increases volume to be triggered at the same time...
[Rockbox.git] / tools / ucl / src / Makefile
blob4481550dfcf8595f79b9896dcda0451aea1f426a
1 # __________ __ ___.
2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6 # \/ \/ \/ \/ \/
7 # $Id$
9 TARGET = libucl.a
11 CFLAGS = -I../include
13 SOURCES = alloc.c io.c n2b_99.c n2b_d.c n2b_ds.c n2b_to.c n2d_99.c \
14 n2d_d.c n2d_ds.c n2d_to.c n2e_99.c n2e_d.c n2e_ds.c n2e_to.c ucl_crc.c \
15 ucl_dll.c ucl_init.c ucl_ptr.c ucl_str.c ucl_util.c
17 OBJS = alloc.o io.o n2b_99.o n2b_d.o n2b_ds.o n2b_to.o n2d_99.o \
18 n2d_d.o n2d_ds.o n2d_to.o n2e_99.o n2e_d.o n2e_ds.o n2e_to.o ucl_crc.o \
19 ucl_dll.o ucl_init.o ucl_ptr.o ucl_str.o ucl_util.o
21 # we don't use $(AR) and $(RANLIB) below since we want the _native_ tools
22 # not the cross-compiler tools
23 $(TARGET): $(OBJS)
24 $(SILENT)ar ruv $@ $(OBJS) >/dev/null 2>&1
25 $(SILENT)ranlib $@
27 clean:
28 rm -f $(OBJS) $(TARGET)