Made the plugin linking depend on the plugin library for the simulator builds too. Removed unneeded dependency on plugin.h, because the .o gets rebuilt anyway when plugin.h changes:
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6148 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e5b4913d19
commit
db7986cf0e
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ ifeq ($(SIMVER), x11)
|
|||
###################################################
|
||||
# This is the X11 simulator version
|
||||
|
||||
$(OBJDIR)/%.rock : $(OBJDIR)/%.o $(APPSDIR)/plugin.h
|
||||
$(OBJDIR)/%.rock : $(OBJDIR)/%.o $(OBJDIR)/libplugin.a
|
||||
@echo "LD $@"
|
||||
@$(CC) $(CFLAGS) -shared $< -L$(OBJDIR) $(CODECLIBS) -lplugin -o $@
|
||||
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
|
||||
|
@ -73,7 +73,7 @@ else # end of x11-simulator
|
|||
DLLTOOLFLAGS = --export-all
|
||||
DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin
|
||||
|
||||
$(OBJDIR)/%.rock : $(OBJDIR)/%.o $(APPSDIR)/plugin.h
|
||||
$(OBJDIR)/%.rock : $(OBJDIR)/%.o $(OBJDIR)/libplugin.a
|
||||
@echo "DLL $@"
|
||||
@$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $<
|
||||
@$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $< $(OBJDIR)/libplugin.a \
|
||||
|
|
Loading…
Reference in a new issue