build sound_menu, add mpeg.o to simulat the target mpeg_* functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@718 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
275365c3a9
commit
1df12c875d
1 changed files with 6 additions and 3 deletions
|
@ -52,7 +52,7 @@ ifeq ($(UNAME),Linux)
|
|||
INCLUDES += -I/usr/X11R6/include
|
||||
LIBDIRS = -L/usr/X11R6/lib
|
||||
DEFINES += -DLINUX
|
||||
MPEG_PLAY = 1
|
||||
#MPEG_PLAY = 1
|
||||
else
|
||||
DEFINES += -DBIG_ENDIAN
|
||||
LIBDIRS =
|
||||
|
@ -68,13 +68,13 @@ CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES)
|
|||
|
||||
FIRMSRCS = chartables.c lcd.c sprintf.c id3.c debug.c
|
||||
|
||||
APPS = main.c tree.c play.c menu.c credits.c main_menu.c
|
||||
APPS = main.c tree.c play.c menu.c credits.c main_menu.c sound_menu.c
|
||||
|
||||
ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
|
||||
APPS += tetris.c screensaver.c icons.c bmp.c
|
||||
endif
|
||||
|
||||
SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c \
|
||||
SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c mpeg.c \
|
||||
button-x11.c io.c sleep.c $(APPS) $(FIRMSRCS)
|
||||
|
||||
ifdef MPEG_PLAY
|
||||
|
@ -142,6 +142,9 @@ menu.o: $(APPDIR)/menu.c
|
|||
main_menu.o: $(APPDIR)/main_menu.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
sound_menu.o: $(APPDIR)/sound_menu.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
icons.o: $(RECDIR)/icons.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
|
|
Loading…
Reference in a new issue