diff options
Diffstat (limited to 'apps/plugins/mpegplayer/Makefile')
-rw-r--r-- | apps/plugins/mpegplayer/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/mpegplayer/Makefile b/apps/plugins/mpegplayer/Makefile index c43dde04bc..97c9e6a919 100644 --- a/apps/plugins/mpegplayer/Makefile +++ b/apps/plugins/mpegplayer/Makefile | |||
@@ -43,7 +43,7 @@ libmad-mpegplayer: | |||
43 | ifndef SIMVER | 43 | ifndef SIMVER |
44 | $(OBJDIR)/mpegplayer.elf: $(OBJS) $(LINKFILE) $(BUILDDIR)/libmad-mpegplayer.a | 44 | $(OBJDIR)/mpegplayer.elf: $(OBJS) $(LINKFILE) $(BUILDDIR)/libmad-mpegplayer.a |
45 | $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lmad-mpegplayer -lgcc\ | 45 | $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lmad-mpegplayer -lgcc\ |
46 | -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/mpegplayer.map | 46 | $(LINKBITMAPS) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/mpegplayer.map |
47 | 47 | ||
48 | $(OUTPUT): $(OBJDIR)/mpegplayer.elf | 48 | $(OUTPUT): $(OBJDIR)/mpegplayer.elf |
49 | $(call PRINTS,OBJCOPY $(@F))$(OC) -O binary $< $@ | 49 | $(call PRINTS,OBJCOPY $(@F))$(OC) -O binary $< $@ |
@@ -51,7 +51,7 @@ else | |||
51 | # This is the SDL simulator version | 51 | # This is the SDL simulator version |
52 | 52 | ||
53 | $(OUTPUT): $(OBJS) $(BUILDDIR)/libmad-mpegplayer.a | 53 | $(OUTPUT): $(OBJS) $(BUILDDIR)/libmad-mpegplayer.a |
54 | $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -lmad-mpegplayer -o $@ | 54 | $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin $(LINKBITMAPS) -lmad-mpegplayer -o $@ |
55 | ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN) | 55 | ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN) |
56 | # 'x' must be kept or you'll have "Win32 error 5" | 56 | # 'x' must be kept or you'll have "Win32 error 5" |
57 | # $ fgrep 5 /usr/include/w32api/winerror.h | head -1 | 57 | # $ fgrep 5 /usr/include/w32api/winerror.h | head -1 |