mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
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
|
|
@ -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…
Add table
Add a link
Reference in a new issue