summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMats Lidell <matsl@rockbox.org>2002-10-11 11:13:03 +0000
committerMats Lidell <matsl@rockbox.org>2002-10-11 11:13:03 +0000
commit2aab7cc4b520430b6709b42281ed17045fc09be9 (patch)
treee6380cf3adf05107be2786957a33ce758c4731bb
parentd5fd94d6936e4d08368e03b91ee3e2150b8271b2 (diff)
downloadrockbox-2aab7cc4b520430b6709b42281ed17045fc09be9.tar.gz
rockbox-2aab7cc4b520430b6709b42281ed17045fc09be9.zip
Player simulator uses lcd-playersim for display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2581 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--uisimulator/x11/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile
index 930de50d7b..66c900050f 100644
--- a/uisimulator/x11/Makefile
+++ b/uisimulator/x11/Makefile
@@ -77,7 +77,12 @@ CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) -W -Wall
APPCFLAGS = $(DEBUG) $(DEFINES) -DAPPSVERSION=\"$(VERSION)\" $(APPINCLUDES) -W -Wall
-FIRMSRCS = lcd-recorder.c sprintf.c id3.c debug.c usb.c mpeg.c power.c\
+ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
+ LCDSRSC = lcd-recorder.c
+else
+ LCDSRSC = lcd-playersim.c
+endif
+FIRMSRCS = $(LCDSRSC) sprintf.c id3.c debug.c usb.c mpeg.c power.c\
powermgmt.c font.c panic.c sysfont.c ctype.c
APPS = main.c tree.c menu.c credits.c main_menu.c language.c\
@@ -287,6 +292,8 @@ $(OBJDIR)/ajf.o: $(FIRMWAREDIR)/ajf.c
$(OBJDIR)/power.o: $(DRIVERS)/power.c
$(CC) $(CFLAGS) -c $< -o $@
+$(OBJDIR)/lcd-playersim.o: ../common/lcd-playersim.c
+ $(CC) $(CFLAGS) -DHAVE_LCD_BITMAP -c $< -o $@
# these ones are simulator-specific