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:
parent
70837fb1ed
commit
71c62c3e1b
2 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue