summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMats Lidell <matsl@rockbox.org>2002-10-18 13:27:55 +0000
committerMats Lidell <matsl@rockbox.org>2002-10-18 13:27:55 +0000
commitf4f9997404a5c851e4d90ef9f59297f151c9fc66 (patch)
treed35d15a3e9ca4b3ff1ab18f4a19d450a2d97d838
parent0834d3f322abf9fc9058be1135e78a061ec46bd4 (diff)
downloadrockbox-f4f9997404a5c851e4d90ef9f59297f151c9fc66.zip
rockbox-f4f9997404a5c851e4d90ef9f59297f151c9fc66.tar.gz
rockbox-f4f9997404a5c851e4d90ef9f59297f151c9fc66.tar.bz2
rockbox-f4f9997404a5c851e4d90ef9f59297f151c9fc66.tar.xz
Use lcd-player.c in simulator. (Not tested)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2719 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--uisimulator/win32/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile
index 971b2dc..222b05a 100644
--- a/uisimulator/win32/Makefile
+++ b/uisimulator/win32/Makefile
@@ -59,6 +59,12 @@ INCLUDES = -I. -I$(DRIVERS) -I$(COMMON) -I$(FIRMWAREDIR) -I$(APPDIR) -I$(MACHINE
# The true Rockbox Applications should use this include path:
APPINCLUDES = -I$(FIRMWAREDIR)/include $(INCLUDES)
+ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
+ LCDSRSC = lcd-recorder.c
+else
+ LCDSRSC = lcd-playersim.c lcd-player.c
+endif
+
DEFINES += -DWIN32
CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) -W -Wall -mwindows
@@ -239,6 +245,12 @@ $(OBJDIR)/stubs.o: ../common/stubs.c
$(OBJDIR)/sim_icons.o: ../common/sim_icons.c
$(CC) $(CFLAGS) -c $< -o $@
+$(OBJDIR)/lcd-playersim.o: ../common/lcd-playersim.c
+ $(CC) $(CFLAGS) -c $< -o $@
+
+$(OBJDIR)/lcd-player.o: $(DRIVERS)/lcd-player.c
+ $(CC) $(CFLAGS) -c $< -o $@
+
# these ones are simulator-specific
$(OBJDIR)/%.o: %.c