diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-02 07:43:49 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-02 07:43:49 +0000 |
commit | afd7421a4c705cb928a5ecb0416d9f2f9c42c7b5 (patch) | |
tree | f1571264ca26d918788479cf924f638d183a9a02 /uisimulator/x11/Makefile | |
parent | 4c895953bb54baa691d73aaf186d9b70366591c0 (diff) | |
download | rockbox-afd7421a4c705cb928a5ecb0416d9f2f9c42c7b5.tar.gz rockbox-afd7421a4c705cb928a5ecb0416d9f2f9c42c7b5.zip |
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
Diffstat (limited to 'uisimulator/x11/Makefile')
-rw-r--r-- | uisimulator/x11/Makefile | 12 |
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 | ||
29 | else | 31 | else |
30 | MACHINEDIR = $(PLAYDIR) | 32 | MACHINEDIR = $(PLAYDIR) |
31 | endif | 33 | endif |
@@ -110,12 +112,12 @@ APPS = main.c tree.c menu.c credits.c main_menu.c language.c\ | |||
110 | MENUS = settings_menu.c sound_menu.c playlist_menu.c | 112 | MENUS = settings_menu.c sound_menu.c playlist_menu.c |
111 | 113 | ||
112 | ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) | 114 | ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) |
113 | APPS += bmp.c widgets.c | 115 | APPS += bmp.c widgets.c radio.c |
114 | endif | 116 | endif |
115 | 117 | ||
116 | SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c stubs.c \ | 118 | SRCS = 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 | ||
120 | ROCKSRC := $(wildcard $(APPDIR)/plugins/*.c) | 122 | ROCKSRC := $(wildcard $(APPDIR)/plugins/*.c) |
121 | ROCKS := $(ROCKSRC:$(APPDIR)/plugins/%.c=$(OBJDIR)/%.rock) | 123 | ROCKS := $(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 |