summaryrefslogtreecommitdiff
path: root/tools/ucl/Makefile
blob: f22a862cb6a5fdde3157249a23dabdfa389f3f3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#             __________               __   ___.
#   Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
#   Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
#   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
#   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
#                     \/            \/     \/    \/            \/
# $Id$
#
CFLAGS+= -O2 -Iinclude

TARGET = ../uclpack

$(TARGET): uclpack.o src/libucl.a
	$(CC) $(CFLAGS) uclpack.o src/libucl.a -o $(TARGET)

uclpack.o: uclpack.c

src/libucl.a:
	$(MAKE) -C src

clean:
	rm -f $(TARGET) uclpack.o
	$(MAKE) -C src clean