blob: 4481550dfcf8595f79b9896dcda0451aea1f426a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# __________ __ ___.
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
# \/ \/ \/ \/ \/
# $Id$
#
TARGET = libucl.a
CFLAGS = -I../include
SOURCES = alloc.c io.c n2b_99.c n2b_d.c n2b_ds.c n2b_to.c n2d_99.c \
n2d_d.c n2d_ds.c n2d_to.c n2e_99.c n2e_d.c n2e_ds.c n2e_to.c ucl_crc.c \
ucl_dll.c ucl_init.c ucl_ptr.c ucl_str.c ucl_util.c
OBJS = alloc.o io.o n2b_99.o n2b_d.o n2b_ds.o n2b_to.o n2d_99.o \
n2d_d.o n2d_ds.o n2d_to.o n2e_99.o n2e_d.o n2e_ds.o n2e_to.o ucl_crc.o \
ucl_dll.o ucl_init.o ucl_ptr.o ucl_str.o ucl_util.o
# we don't use $(AR) and $(RANLIB) below since we want the _native_ tools
# not the cross-compiler tools
$(TARGET): $(OBJS)
$(SILENT)ar ruv $@ $(OBJS) >/dev/null 2>&1
$(SILENT)ranlib $@
clean:
rm -f $(OBJS) $(TARGET)
|