summaryrefslogtreecommitdiff
path: root/uisimulator/x11/Makefile
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/x11/Makefile
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/x11/Makefile')
-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)
45ifeq ($(UNAME),Linux) 45ifeq ($(UNAME),Linux)
46 INCLUDES += -I/usr/X11R6/include 46 INCLUDES += -I/usr/X11R6/include
47 LIBDIRS = -L/usr/X11R6/lib 47 LIBDIRS = -L/usr/X11R6/lib
48 DEFINES += -DLINUX 48 DEFINES += -DLINUX -DLITTLE_ENDIAN
49 MPEG_PLAY = 1 49 MPEG_PLAY = 1
50else 50else
51 DEFINES += -DBIG_ENDIAN
51 LIBDIRS = 52 LIBDIRS =
52endif 53endif
53 54
@@ -57,7 +58,8 @@ CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES)
57 58
58FIRMSRCS = chartables.c lcd.c sprintf.c id3.c debug.c 59FIRMSRCS = chartables.c lcd.c sprintf.c id3.c debug.c
59 60
60APPS = tetris.c screensaver.c tree.c app.c play.c menu.c icons.c 61APPS = tetris.c screensaver.c tree.c app.c play.c menu.c icons.c bmp.c
62
61 63
62SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c \ 64SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c \
63 button-x11.c io.c sleep.c $(APPS) $(FIRMSRCS) 65 button-x11.c io.c sleep.c $(APPS) $(FIRMSRCS)
@@ -133,6 +135,9 @@ screensaver.o: $(APPDIR)/screensaver.c
133app.o: $(APPDIR)/app.c 135app.o: $(APPDIR)/app.c
134 $(CC) $(CFLAGS) -c $< -o $@ 136 $(CC) $(CFLAGS) -c $< -o $@
135 137
138bmp.o: $(APPDIR)/bmp.c
139 $(CC) $(CFLAGS) -c $< -o $@
140
136play.o: $(APPDIR)/play.c 141play.o: $(APPDIR)/play.c
137 $(CC) $(CFLAGS) -c $< -o $@ 142 $(CC) $(CFLAGS) -c $< -o $@
138 143