mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
first attempt at mp3 playback in x11 simulator using libmad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@535 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
564bb3edb0
commit
4dbbca63d3
4 changed files with 272 additions and 1 deletions
|
|
@ -57,6 +57,12 @@ APPS = tetris.c screensaver.c tree.c app.c play.c menu.c icons.c
|
|||
SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c \
|
||||
button-x11.c io.c sleep.c $(APPS) $(FIRMSRCS)
|
||||
|
||||
ifdef MPEG_PLAY
|
||||
SRCS += mpegplay.c
|
||||
DEFINES += -DMPEG_PLAY
|
||||
LIBS = -lmad
|
||||
endif
|
||||
|
||||
OBJS := $(SRCS:c=o)
|
||||
|
||||
all: $(TARGET)
|
||||
|
|
@ -108,7 +114,7 @@ sprintf.o: $(COMMON)/sprintf.c
|
|||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
$(CC) -g -o $(TARGET) $(LIBDIRS) $(LDFLAGS) $(OBJS)
|
||||
$(CC) -g -o $(TARGET) $(LIBDIRS) $(LDFLAGS) $(OBJS) $(LIBS)
|
||||
|
||||
DEPS:=.deps
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue