From a78d6820174fa1af59a71b816e6b3dbe55e94b65 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 16 May 2002 13:02:57 +0000 Subject: set endian style, default target endian is BIG ENDIAN git-svn-id: svn://svn.rockbox.org/rockbox/trunk@592 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/x11/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile index 027b804d6b..d6cfece145 100644 --- a/uisimulator/x11/Makefile +++ b/uisimulator/x11/Makefile @@ -45,9 +45,10 @@ UNAME := $(shell uname) ifeq ($(UNAME),Linux) INCLUDES += -I/usr/X11R6/include LIBDIRS = -L/usr/X11R6/lib - DEFINES += -DLINUX + DEFINES += -DLINUX -DLITTLE_ENDIAN MPEG_PLAY = 1 else + DEFINES += -DBIG_ENDIAN LIBDIRS = endif @@ -57,7 +58,8 @@ CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) FIRMSRCS = chartables.c lcd.c sprintf.c id3.c debug.c -APPS = tetris.c screensaver.c tree.c app.c play.c menu.c icons.c +APPS = tetris.c screensaver.c tree.c app.c play.c menu.c icons.c bmp.c + SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c \ button-x11.c io.c sleep.c $(APPS) $(FIRMSRCS) @@ -133,6 +135,9 @@ screensaver.o: $(APPDIR)/screensaver.c app.o: $(APPDIR)/app.c $(CC) $(CFLAGS) -c $< -o $@ +bmp.o: $(APPDIR)/bmp.c + $(CC) $(CFLAGS) -c $< -o $@ + play.o: $(APPDIR)/play.c $(CC) $(CFLAGS) -c $< -o $@ -- cgit v1.2.3