summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2003-12-23 17:05:20 +0000
committerHardeep Sidhu <dyp@pobox.com>2003-12-23 17:05:20 +0000
commit9aad0db9df7716fe4e2997bca09e8a0a46889b84 (patch)
tree5e6aa4f004a8cb7c435e38ff4b98482e388ad3f5 /uisimulator
parent9eb03c1043a8f51e0785b301b9854dcee0044aa1 (diff)
downloadrockbox-9aad0db9df7716fe4e2997bca09e8a0a46889b84.tar.gz
rockbox-9aad0db9df7716fe4e2997bca09e8a0a46889b84.zip
Use rockbox random in win32 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4175 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/win32/Makefile12
-rw-r--r--uisimulator/win32/rockbox.dsp4
2 files changed, 10 insertions, 6 deletions
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile
index 0399f383f2..76dd1c9af2 100644
--- a/uisimulator/win32/Makefile
+++ b/uisimulator/win32/Makefile
@@ -97,7 +97,7 @@ else
97 LCDSRSC = lcd-playersim.c lcd-player.c lcd-player-charset.c font-player.c 97 LCDSRSC = lcd-playersim.c lcd-player.c lcd-player-charset.c font-player.c
98endif 98endif
99FIRMSRCS = $(LCDSRSC) id3.c mp3data.c usb.c mpeg.c powermgmt.c power.c \ 99FIRMSRCS = $(LCDSRSC) id3.c mp3data.c usb.c mpeg.c powermgmt.c power.c \
100 sprintf.c buffer.c lcd-common.c 100 sprintf.c buffer.c lcd-common.c strtok.c random.c
101 101
102APPS = main.c tree.c menu.c credits.c main_menu.c icons.c language.c \ 102APPS = main.c tree.c menu.c credits.c main_menu.c icons.c language.c \
103 playlist.c wps.c wps-display.c settings.c status.c \ 103 playlist.c wps.c wps-display.c settings.c status.c \
@@ -112,7 +112,7 @@ endif
112 112
113SRCS = button.c dir-win32.c lcd-win32.c panic-win32.c thread-win32.c \ 113SRCS = button.c dir-win32.c lcd-win32.c panic-win32.c thread-win32.c \
114 debug-win32.c kernel.c string-win32.c uisw32.c stubs.c \ 114 debug-win32.c kernel.c string-win32.c uisw32.c stubs.c \
115 $(APPS) $(MENUS) $(FIRMSRCS) strtok.c sim_icons.c io.c 115 $(APPS) $(MENUS) $(FIRMSRCS) sim_icons.c io.c
116 116
117OBJS := $(OBJDIR)/lang.o $(SRCS:%.c=$(OBJDIR)/%.o) $(OBJDIR)/uisw32-res.o 117OBJS := $(OBJDIR)/lang.o $(SRCS:%.c=$(OBJDIR)/%.o) $(OBJDIR)/uisw32-res.o
118 118
@@ -266,14 +266,14 @@ $(OBJDIR)/debug.o: $(FIRMWAREDIR)/debug.c
266$(OBJDIR)/mpeg.o: $(FIRMWAREDIR)/mpeg.c 266$(OBJDIR)/mpeg.o: $(FIRMWAREDIR)/mpeg.c
267 $(CC) $(CFLAGS) -c $< -o $@ 267 $(CC) $(CFLAGS) -c $< -o $@
268 268
269$(OBJDIR)/sprintf.o: $(COMMON)/sprintf.c 269$(OBJDIR)/buffer.o: $(FIRMWAREDIR)/buffer.c
270 $(CC) $(CFLAGS) -c $< -o $@ 270 $(CC) $(CFLAGS) -c $< -o $@
271 271
272$(OBJDIR)/buffer.o: $(FIRMWAREDIR)/buffer.c 272$(OBJDIR)/random.o: $(COMMON)/random.c
273 $(CC) $(CFLAGS) -c $< -o $@ 273 $(CC) $(CFLAGS) -c $< -o $@
274 274
275$(OBJDIR)/ctype.o: $(COMMON)/ctype.c 275$(OBJDIR)/sprintf.o: $(COMMON)/sprintf.c
276 $(CC) $(CFLAGS) $(APPINCLUDES) -c $< -o $@ 276 $(CC) $(CFLAGS) -c $< -o $@
277 277
278$(OBJDIR)/strtok.o: $(COMMON)/strtok.c 278$(OBJDIR)/strtok.o: $(COMMON)/strtok.c
279 $(CC) $(CFLAGS) -c $< -o $@ 279 $(CC) $(CFLAGS) -c $< -o $@
diff --git a/uisimulator/win32/rockbox.dsp b/uisimulator/win32/rockbox.dsp
index ebfb98fa93..c01f1258ec 100644
--- a/uisimulator/win32/rockbox.dsp
+++ b/uisimulator/win32/rockbox.dsp
@@ -197,6 +197,10 @@ SOURCE=..\..\firmware\common\errno.c
197# End Source File 197# End Source File
198# Begin Source File 198# Begin Source File
199 199
200SOURCE=..\..\firmware\common\random.c
201# End Source File
202# Begin Source File
203
200SOURCE=..\..\firmware\common\sprintf.c 204SOURCE=..\..\firmware\common\sprintf.c
201# End Source File 205# End Source File
202# Begin Source File 206# Begin Source File