summaryrefslogtreecommitdiffstats
path: root/tools/ucl/src
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-12-16 21:10:25 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-12-16 21:10:25 +0000
commit71c62c3e1b0e2c27447a00fef1367bb09edeb338 (patch)
tree5da3525acbf6a8c499181eda41ed4fb335d4fc22 /tools/ucl/src
parent70837fb1ede2a15323ac3fce3877a438ccff5c10 (diff)
downloadrockbox-71c62c3e1b0e2c27447a00fef1367bb09edeb338.tar.gz
rockbox-71c62c3e1b0e2c27447a00fef1367bb09edeb338.tar.bz2
rockbox-71c62c3e1b0e2c27447a00fef1367bb09edeb338.zip
rbspeex, libucl: add rule to build DLL.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31332 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/ucl/src')
-rw-r--r--tools/ucl/src/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/ucl/src/Makefile b/tools/ucl/src/Makefile
index 06399822b4..ab6b6c9c0b 100644
--- a/tools/ucl/src/Makefile
+++ b/tools/ucl/src/Makefile
@@ -31,6 +31,13 @@ OBJS = $(addprefix $(OBJDIR)/,$(SOURCES:%.c=%.o))
libucl$(RBARCH).a: $(TARGET_DIR)libucl$(RBARCH).a
+dll: ucl.dll
+ucl.dll: $(TARGET_DIR)ucl.dll
+$(TARGET_DIR)ucl.dll: $(OBJS)
+ @echo DLL $(notdir $@)
+ $(SILENT)$(CROSS)$(CC) $(CFLAGS) -shared -o $@ $^ \
+ -Wl,--output-def,$(TARGET_DIR)ucl.def
+
$(TARGET_DIR)libucl$(RBARCH).a: $(OBJS)
@echo AR $(notdir $@)
$(SILENT)$(CROSS)$(AR) rucs $@ $(OBJS) >/dev/null 2>&1