summaryrefslogtreecommitdiff
path: root/uisimulator/x11/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/x11/Makefile')
-rw-r--r--uisimulator/x11/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile
index 38983eac47..6283989776 100644
--- a/uisimulator/x11/Makefile
+++ b/uisimulator/x11/Makefile
@@ -26,6 +26,8 @@ ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
26 MACHINEDIR = $(RECDIR) 26 MACHINEDIR = $(RECDIR)
27 # not very nice to set RTC like this, but... 27 # not very nice to set RTC like this, but...
28 RTC += -DHAVE_RTC 28 RTC += -DHAVE_RTC
29 # not very nice to set RADIO like this, but...
30 RADIO += -DHAVE_FMRADIO
29else 31else
30 MACHINEDIR = $(PLAYDIR) 32 MACHINEDIR = $(PLAYDIR)
31endif 33endif
@@ -110,12 +112,12 @@ APPS = main.c tree.c menu.c credits.c main_menu.c language.c\
110MENUS = settings_menu.c sound_menu.c playlist_menu.c 112MENUS = settings_menu.c sound_menu.c playlist_menu.c
111 113
112ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) 114ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
113 APPS += bmp.c widgets.c 115 APPS += bmp.c widgets.c radio.c
114endif 116endif
115 117
116SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c stubs.c \ 118SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c stubs.c \
117 button-x11.c thread.c sim_icons.c $(APPS) $(MENUS) $(FIRMSRCS) \ 119 button-x11.c thread.c sim_icons.c $(APPS) $(MENUS) $(FIRMSRCS) \
118 $(COMMONSRCS) lcd-common.c 120 $(COMMONSRCS) lcd-common.c fmradio.c
119 121
120ROCKSRC := $(wildcard $(APPDIR)/plugins/*.c) 122ROCKSRC := $(wildcard $(APPDIR)/plugins/*.c)
121ROCKS := $(ROCKSRC:$(APPDIR)/plugins/%.c=$(OBJDIR)/%.rock) 123ROCKS := $(ROCKSRC:$(APPDIR)/plugins/%.c=$(OBJDIR)/%.rock)
@@ -307,12 +309,18 @@ $(OBJDIR)/lcd-player-charset.o: $(DRIVERS)/lcd-player-charset.c
307$(OBJDIR)/lcd-playersim.o: $(SIMCOMMON)/lcd-playersim.c 309$(OBJDIR)/lcd-playersim.o: $(SIMCOMMON)/lcd-playersim.c
308 $(CC) $(CFLAGS) -c $< -o $@ 310 $(CC) $(CFLAGS) -c $< -o $@
309 311
312$(OBJDIR)/fmradio.o: $(SIMCOMMON)/fmradio.c
313 $(CC) $(CFLAGS) -c $< -o $@
314
310$(OBJDIR)/font-player.o: $(SIMCOMMON)/font-player.c 315$(OBJDIR)/font-player.o: $(SIMCOMMON)/font-player.c
311 $(CC) $(CFLAGS) -c $< -o $@ 316 $(CC) $(CFLAGS) -c $< -o $@
312 317
313$(OBJDIR)/lcd-player.o: $(DRIVERS)/lcd-player.c 318$(OBJDIR)/lcd-player.o: $(DRIVERS)/lcd-player.c
314 $(CC) $(CFLAGS) -c $< -o $@ 319 $(CC) $(CFLAGS) -c $< -o $@
315 320
321$(OBJDIR)/radio.o: $(RECDIR)/radio.c
322 $(CC) $(APPCFLAGS) -c $< -o $@
323
316# these ones are simulator-specific 324# these ones are simulator-specific
317 325
318$(OBJDIR)/%.o: %.c 326$(OBJDIR)/%.o: %.c