summaryrefslogtreecommitdiff
path: root/uisimulator/x11/Makefile
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2002-05-09 23:54:47 +0000
committerDave Chapman <dave@dchapman.com>2002-05-09 23:54:47 +0000
commit4dbbca63d31ad40e8ec778b2ddfc63f33dc9f500 (patch)
treed0301232c53631cf90357ce3cf1e783a7499c43c /uisimulator/x11/Makefile
parent564bb3edb0d52ce13367c8f53bc54b4fe448b8cf (diff)
downloadrockbox-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/Makefile8
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
57SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c \ 57SRCS = 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
60ifdef MPEG_PLAY
61 SRCS += mpegplay.c
62 DEFINES += -DMPEG_PLAY
63 LIBS = -lmad
64endif
65
60OBJS := $(SRCS:c=o) 66OBJS := $(SRCS:c=o)
61 67
62all: $(TARGET) 68all: $(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
113DEPS:=.deps 119DEPS:=.deps
114 120