1
0
Fork 0
forked from len0rd/rockbox

rbspeex, libucl: add rule to build DLL.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31332 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2011-12-16 21:10:25 +00:00
parent 70837fb1ed
commit 71c62c3e1b
2 changed files with 13 additions and 0 deletions

View file

@ -70,6 +70,12 @@ $(DEPFILE): $(SOURCES)
-include $(DEPFILE)
dll: rbspeex.dll
rbspeex.dll: $(OUT)/rbspeex.dll
$(OUT)/rbspeex.dll: $(OBJS) $(OUT)/rbspeex.o
@echo DLL $(notdir $@)
$(SILENT)$(CC) $(CFLAGS) -shared -o $@ $^ -Wl,--output-def,$(OUT)/rbspeex.def
$(OUT)/librbspeex.a: $(OBJS) $(DEPFILE) $(OUT)/rbspeex.o
@echo AR $(notdir $@)
$(SILENT)$(AR) rucs $@ $+ > /dev/null 2>&1