From 2aab7cc4b520430b6709b42281ed17045fc09be9 Mon Sep 17 00:00:00 2001 From: Mats Lidell Date: Fri, 11 Oct 2002 11:13:03 +0000 Subject: Player simulator uses lcd-playersim for display. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2581 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/x11/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'uisimulator') 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 -- cgit v1.2.3