summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/Makefile')
-rw-r--r--apps/plugins/mpegplayer/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/mpegplayer/Makefile b/apps/plugins/mpegplayer/Makefile
index fd19a6da9c..f31f00f26c 100644
--- a/apps/plugins/mpegplayer/Makefile
+++ b/apps/plugins/mpegplayer/Makefile
@@ -34,7 +34,7 @@ all: $(OUTPUT)
34 34
35ifndef SIMVER 35ifndef SIMVER
36$(OBJDIR)/mpegplayer.elf: $(OBJS) $(LINKFILE) 36$(OBJDIR)/mpegplayer.elf: $(OBJS) $(LINKFILE)
37 $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ 37 $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lmad -lgcc\
38 -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/mpegplayer.map 38 -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/mpegplayer.map
39 39
40$(OUTPUT): $(OBJDIR)/mpegplayer.elf 40$(OUTPUT): $(OBJDIR)/mpegplayer.elf
@@ -46,7 +46,7 @@ ifeq ($(SIMVER), x11)
46# This is the X11 simulator version 46# This is the X11 simulator version
47 47
48$(OUTPUT): $(OBJS) 48$(OUTPUT): $(OBJS)
49 $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@ 49 $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -lmad -o $@
50ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN) 50ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
51# 'x' must be kept or you'll have "Win32 error 5" 51# 'x' must be kept or you'll have "Win32 error 5"
52# $ fgrep 5 /usr/include/w32api/winerror.h | head -1 52# $ fgrep 5 /usr/include/w32api/winerror.h | head -1
@@ -61,7 +61,7 @@ ifeq ($(SIMVER), sdl)
61# This is the SDL simulator version 61# This is the SDL simulator version
62 62
63$(OUTPUT): $(OBJS) 63$(OUTPUT): $(OBJS)
64 $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@ 64 $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -lmad -o $@
65ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN) 65ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
66# 'x' must be kept or you'll have "Win32 error 5" 66# 'x' must be kept or you'll have "Win32 error 5"
67# $ fgrep 5 /usr/include/w32api/winerror.h | head -1 67# $ fgrep 5 /usr/include/w32api/winerror.h | head -1