summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-05-16 13:02:57 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-05-16 13:02:57 +0000
commita78d6820174fa1af59a71b816e6b3dbe55e94b65 (patch)
tree70ac2eb57542fdecad757d52c1d3e9493a3b4065 /uisimulator
parentbd886481b9938d4bfc4811d2b892cf388578b9fe (diff)
downloadrockbox-a78d6820174fa1af59a71b816e6b3dbe55e94b65.tar.gz
rockbox-a78d6820174fa1af59a71b816e6b3dbe55e94b65.zip
set endian style, default target endian is BIG ENDIAN
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@592 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/x11/Makefile9
1 files 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 $@