diff options
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 | ||