diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-03-05 23:31:40 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-03-05 23:31:40 +0000 |
commit | db7986cf0e79728a16650ea6238ed99e98a2fa53 (patch) | |
tree | 445b87bcd39098e84f4ea5980232170fce8783e6 | |
parent | e5b4913d19b40176cbaebe9453febadcab87b76c (diff) | |
download | rockbox-db7986cf0e79728a16650ea6238ed99e98a2fa53.tar.gz rockbox-db7986cf0e79728a16650ea6238ed99e98a2fa53.zip |
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
-rw-r--r-- | apps/plugins/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile index 6c3917c0cb..fdabc8cf22 100644 --- a/apps/plugins/Makefile +++ b/apps/plugins/Makefile | |||
@@ -56,7 +56,7 @@ ifeq ($(SIMVER), x11) | |||
56 | ################################################### | 56 | ################################################### |
57 | # This is the X11 simulator version | 57 | # This is the X11 simulator version |
58 | 58 | ||
59 | $(OBJDIR)/%.rock : $(OBJDIR)/%.o $(APPSDIR)/plugin.h | 59 | $(OBJDIR)/%.rock : $(OBJDIR)/%.o $(OBJDIR)/libplugin.a |
60 | @echo "LD $@" | 60 | @echo "LD $@" |
61 | @$(CC) $(CFLAGS) -shared $< -L$(OBJDIR) $(CODECLIBS) -lplugin -o $@ | 61 | @$(CC) $(CFLAGS) -shared $< -L$(OBJDIR) $(CODECLIBS) -lplugin -o $@ |
62 | ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN) | 62 | ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN) |
@@ -73,7 +73,7 @@ else # end of x11-simulator | |||
73 | DLLTOOLFLAGS = --export-all | 73 | DLLTOOLFLAGS = --export-all |
74 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin | 74 | DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin |
75 | 75 | ||
76 | $(OBJDIR)/%.rock : $(OBJDIR)/%.o $(APPSDIR)/plugin.h | 76 | $(OBJDIR)/%.rock : $(OBJDIR)/%.o $(OBJDIR)/libplugin.a |
77 | @echo "DLL $@" | 77 | @echo "DLL $@" |
78 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $< | 78 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $< |
79 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $< $(OBJDIR)/libplugin.a \ | 79 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $< $(OBJDIR)/libplugin.a \ |