diff options
author | Dave Chapman <dave@dchapman.com> | 2002-05-09 23:54:47 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2002-05-09 23:54:47 +0000 |
commit | 4dbbca63d31ad40e8ec778b2ddfc63f33dc9f500 (patch) | |
tree | d0301232c53631cf90357ce3cf1e783a7499c43c /uisimulator/x11/Makefile | |
parent | 564bb3edb0d52ce13367c8f53bc54b4fe448b8cf (diff) | |
download | rockbox-4dbbca63d31ad40e8ec778b2ddfc63f33dc9f500.tar.gz rockbox-4dbbca63d31ad40e8ec778b2ddfc63f33dc9f500.zip |
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
Diffstat (limited to 'uisimulator/x11/Makefile')
-rw-r--r-- | uisimulator/x11/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile index 9753394456..7cc8b088c3 100644 --- a/uisimulator/x11/Makefile +++ b/uisimulator/x11/Makefile | |||
@@ -57,6 +57,12 @@ APPS = tetris.c screensaver.c tree.c app.c play.c menu.c icons.c | |||
57 | SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c \ | 57 | SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c \ |
58 | button-x11.c io.c sleep.c $(APPS) $(FIRMSRCS) | 58 | button-x11.c io.c sleep.c $(APPS) $(FIRMSRCS) |
59 | 59 | ||
60 | ifdef MPEG_PLAY | ||
61 | SRCS += mpegplay.c | ||
62 | DEFINES += -DMPEG_PLAY | ||
63 | LIBS = -lmad | ||
64 | endif | ||
65 | |||
60 | OBJS := $(SRCS:c=o) | 66 | OBJS := $(SRCS:c=o) |
61 | 67 | ||
62 | all: $(TARGET) | 68 | all: $(TARGET) |
@@ -108,7 +114,7 @@ sprintf.o: $(COMMON)/sprintf.c | |||
108 | $(CC) $(CFLAGS) -c $< | 114 | $(CC) $(CFLAGS) -c $< |
109 | 115 | ||
110 | $(TARGET): $(OBJS) | 116 | $(TARGET): $(OBJS) |
111 | $(CC) -g -o $(TARGET) $(LIBDIRS) $(LDFLAGS) $(OBJS) | 117 | $(CC) -g -o $(TARGET) $(LIBDIRS) $(LDFLAGS) $(OBJS) $(LIBS) |
112 | 118 | ||
113 | DEPS:=.deps | 119 | DEPS:=.deps |
114 | 120 | ||