summaryrefslogtreecommitdiff
path: root/uisimulator/x11/Makefile
diff options
context:
space:
mode:
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