summaryrefslogtreecommitdiff
path: root/tools/ucl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ucl/Makefile')
-rw-r--r--tools/ucl/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/ucl/Makefile b/tools/ucl/Makefile
new file mode 100644
index 0000000000..aa0736767a
--- /dev/null
+++ b/tools/ucl/Makefile
@@ -0,0 +1,23 @@
+# __________ __ ___.
+# Open \______ \ ____ ____ | | _\_ |__ _______ ___
+# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+# \/ \/ \/ \/ \/
+# $Id$
+#
+CFLAGS = -O2 -Iinclude
+
+TARGET = ../uclpack
+
+$(TARGET): uclpack.o src/libucl.a
+ $(CC) uclpack.o src/libucl.a -o $(TARGET)
+
+uclpack.o: uclpack.c
+
+src/libucl.a:
+ $(MAKE) -C src
+
+clean:
+ rm -f $(TARGET)
+ $(MAKE) -C src clean \ No newline at end of file