From afd7421a4c705cb928a5ecb0416d9f2f9c42c7b5 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Fri, 2 Jul 2004 07:43:49 +0000 Subject: Added FM radio simulation, with a good station at 99.4MHz git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4823 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/x11/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'uisimulator/x11/Makefile') 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) MACHINEDIR = $(RECDIR) # not very nice to set RTC like this, but... RTC += -DHAVE_RTC + # not very nice to set RADIO like this, but... + RADIO += -DHAVE_FMRADIO else MACHINEDIR = $(PLAYDIR) endif @@ -110,12 +112,12 @@ APPS = main.c tree.c menu.c credits.c main_menu.c language.c\ MENUS = settings_menu.c sound_menu.c playlist_menu.c ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) - APPS += bmp.c widgets.c + APPS += bmp.c widgets.c radio.c endif SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c stubs.c \ button-x11.c thread.c sim_icons.c $(APPS) $(MENUS) $(FIRMSRCS) \ - $(COMMONSRCS) lcd-common.c + $(COMMONSRCS) lcd-common.c fmradio.c ROCKSRC := $(wildcard $(APPDIR)/plugins/*.c) ROCKS := $(ROCKSRC:$(APPDIR)/plugins/%.c=$(OBJDIR)/%.rock) @@ -307,12 +309,18 @@ $(OBJDIR)/lcd-player-charset.o: $(DRIVERS)/lcd-player-charset.c $(OBJDIR)/lcd-playersim.o: $(SIMCOMMON)/lcd-playersim.c $(CC) $(CFLAGS) -c $< -o $@ +$(OBJDIR)/fmradio.o: $(SIMCOMMON)/fmradio.c + $(CC) $(CFLAGS) -c $< -o $@ + $(OBJDIR)/font-player.o: $(SIMCOMMON)/font-player.c $(CC) $(CFLAGS) -c $< -o $@ $(OBJDIR)/lcd-player.o: $(DRIVERS)/lcd-player.c $(CC) $(CFLAGS) -c $< -o $@ +$(OBJDIR)/radio.o: $(RECDIR)/radio.c + $(CC) $(APPCFLAGS) -c $< -o $@ + # these ones are simulator-specific $(OBJDIR)/%.o: %.c -- cgit v1.2.3