summaryrefslogtreecommitdiffstats
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.tar.bz2
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
LCDSRSC = lcd-playersim.c lcd-player.c lcd-player-charset.c font-player.c
endif
FIRMSRCS = $(LCDSRSC) id3.c mp3data.c usb.c mpeg.c powermgmt.c power.c \
- sprintf.c buffer.c lcd-common.c
+ sprintf.c buffer.c lcd-common.c strtok.c random.c
APPS = main.c tree.c menu.c credits.c main_menu.c icons.c language.c \
playlist.c wps.c wps-display.c settings.c status.c \
@@ -112,7 +112,7 @@ endif
SRCS = button.c dir-win32.c lcd-win32.c panic-win32.c thread-win32.c \
debug-win32.c kernel.c string-win32.c uisw32.c stubs.c \
- $(APPS) $(MENUS) $(FIRMSRCS) strtok.c sim_icons.c io.c
+ $(APPS) $(MENUS) $(FIRMSRCS) sim_icons.c io.c
OBJS := $(OBJDIR)/lang.o $(SRCS:%.c=$(OBJDIR)/%.o) $(OBJDIR)/uisw32-res.o
@@ -266,14 +266,14 @@ $(OBJDIR)/debug.o: $(FIRMWAREDIR)/debug.c
$(OBJDIR)/mpeg.o: $(FIRMWAREDIR)/mpeg.c
$(CC) $(CFLAGS) -c $< -o $@
-$(OBJDIR)/sprintf.o: $(COMMON)/sprintf.c
+$(OBJDIR)/buffer.o: $(FIRMWAREDIR)/buffer.c
$(CC) $(CFLAGS) -c $< -o $@
-$(OBJDIR)/buffer.o: $(FIRMWAREDIR)/buffer.c
+$(OBJDIR)/random.o: $(COMMON)/random.c
$(CC) $(CFLAGS) -c $< -o $@
-$(OBJDIR)/ctype.o: $(COMMON)/ctype.c
- $(CC) $(CFLAGS) $(APPINCLUDES) -c $< -o $@
+$(OBJDIR)/sprintf.o: $(COMMON)/sprintf.c
+ $(CC) $(CFLAGS) -c $< -o $@
$(OBJDIR)/strtok.o: $(COMMON)/strtok.c
$(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
# End Source File
# Begin Source File
+SOURCE=..\..\firmware\common\random.c
+# End Source File
+# Begin Source File
+
SOURCE=..\..\firmware\common\sprintf.c
# End Source File
# Begin Source File