forked from len0rd/rockbox
Deprecate the EXTRA_LIBS variable.
Instead specify explicit library dependencies for codecs and plugins.
This commit is contained in:
parent
02a9089034
commit
1501df045f
7 changed files with 8 additions and 10 deletions
|
|
@ -20,7 +20,7 @@ OTHER_SRC += $(MIKMOD_SRC)
|
|||
|
||||
MIKMODCFLAGS = $(PLUGINFLAGS) -I$(MIKMODSRCDIR) -O2
|
||||
|
||||
$(MIKMODBUILDDIR)/mikmod.rock: $(MIKMOD_OBJ)
|
||||
$(MIKMODBUILDDIR)/mikmod.rock: $(MIKMOD_OBJ) $(TLSFLIB)
|
||||
|
||||
# new rule needed to use extra compile flags
|
||||
$(MIKMODBUILDDIR)/%.o: $(MIKMODSRCDIR)/%.c
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ ifdef APP_TYPE
|
|||
PDBOXLDFLAGS += -lm
|
||||
endif
|
||||
|
||||
$(PDBOXBUILDDIR)/pdbox.rock: $(PDBOX_OBJ)
|
||||
$(PDBOXBUILDDIR)/pdbox.rock: $(PDBOX_OBJ) $(TLSFLIB)
|
||||
|
||||
# Compile PDBox with extra flags (adapted from ZXBox)
|
||||
$(PDBOXBUILDDIR)/%.o: $(PDBOXSRCDIR)/%.c $(PDBOXSRCDIR)/pdbox.make
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ else
|
|||
PLUGINSUBDIRS := $(call preprocess, $(APPSDIR)/plugins/SUBDIRS)
|
||||
endif
|
||||
|
||||
PLUGIN_LIBS := $(EXTRA_LIBS) $(PLUGINLIB) $(PLUGINBITMAPLIB)
|
||||
PLUGIN_LIBS := $(PLUGINLIB) $(PLUGINBITMAPLIB) $(SETJMPLIB)
|
||||
|
||||
# include <dir>.make from each subdir (yay!)
|
||||
$(foreach dir,$(PLUGINSUBDIRS),$(eval include $(dir)/$(notdir $(dir)).make))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue