summaryrefslogtreecommitdiff
path: root/uisimulator/x11
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/x11')
-rw-r--r--uisimulator/x11/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile
index d33fc5a30e..9681ad521e 100644
--- a/uisimulator/x11/Makefile
+++ b/uisimulator/x11/Makefile
@@ -75,15 +75,17 @@ APPCFLAGS = $(DEBUG) $(DEFINES) $(APPINCLUDES) -W -Wall
75 75
76FIRMSRCS = chartables.c lcd.c sprintf.c id3.c debug.c settings.c 76FIRMSRCS = chartables.c lcd.c sprintf.c id3.c debug.c settings.c
77 77
78APPS = main.c tree.c play.c menu.c credits.c main_menu.c sound_menu.c \ 78APPS = main.c tree.c play.c menu.c credits.c main_menu.c\
79 playlist.c showtext.c games_menu.c screensavers_menu.c 79 playlist.c showtext.c
80
81MENUS = games_menu.c screensavers_menu.c settings_menu.c sound_menu.c
80 82
81ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) 83ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
82 APPS += tetris.c sokoban.c bounce.c boxes.c icons.c bmp.c 84 APPS += tetris.c sokoban.c bounce.c boxes.c icons.c bmp.c
83endif 85endif
84 86
85SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c mpeg.c \ 87SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c mpeg.c \
86 button-x11.c io.c thread.c $(APPS) $(FIRMSRCS) 88 button-x11.c io.c thread.c $(APPS) $(MENUS) $(FIRMSRCS)
87 89
88ifdef MPEG_PLAY 90ifdef MPEG_PLAY
89 SRCS += mpegplay.c oss_sound.c bit.c decoder.c fixed.c frame.c huffman.c layer12.c layer3.c stream.c synth.c timer.c version.c 91 SRCS += mpegplay.c oss_sound.c bit.c decoder.c fixed.c frame.c huffman.c layer12.c layer3.c stream.c synth.c timer.c version.c
@@ -159,6 +161,9 @@ $(OBJDIR)/games_menu.o: $(APPDIR)/games_menu.c
159$(OBJDIR)/screensavers_menu.o: $(APPDIR)/screensavers_menu.c 161$(OBJDIR)/screensavers_menu.o: $(APPDIR)/screensavers_menu.c
160 $(CC) $(APPCFLAGS) -c $< -o $@ 162 $(CC) $(APPCFLAGS) -c $< -o $@
161 163
164$(OBJDIR)/settings_menu.o: $(APPDIR)/settings_menu.c
165 $(CC) $(APPCFLAGS) -c $< -o $@
166
162$(OBJDIR)/icons.o: $(RECDIR)/icons.c 167$(OBJDIR)/icons.o: $(RECDIR)/icons.c
163 $(CC) $(APPCFLAGS) -c $< -o $@ 168 $(CC) $(APPCFLAGS) -c $< -o $@
164 169