summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-09-03 08:30:15 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-09-03 08:30:15 +0000
commit7f22b84793237c065de5b455e597fcc64fd50f0e (patch)
tree1e789319793b46e78bafe7055b9a81d50306e652
parent644e4ce792817be267373b7713c07fe10ea76278 (diff)
downloadrockbox-7f22b84793237c065de5b455e597fcc64fd50f0e.tar.gz
rockbox-7f22b84793237c065de5b455e597fcc64fd50f0e.zip
Now handles both player/ and recorder/ directories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2146 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--uisimulator/x11/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile
index d894eee15b..f7a928a365 100644
--- a/uisimulator/x11/Makefile
+++ b/uisimulator/x11/Makefile
@@ -19,6 +19,13 @@
19 19
20APPDIR = ../../apps 20APPDIR = ../../apps
21RECDIR = $(APPDIR)/recorder 21RECDIR = $(APPDIR)/recorder
22PLAYDIR = $(APPDIR)/player
23
24ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
25 MACHINEDIR = $(RECDIR)
26else
27 MACHINEDIR = $(PLAYDIR)
28endif
22 29
23PREVAPPDIR= .. 30PREVAPPDIR= ..
24FIRMWAREDIR = ../../firmware 31FIRMWAREDIR = ../../firmware
@@ -42,8 +49,8 @@ $(KEYPAD) $(DISPLAY) $(EXTRA_DEFINES)
42LDFLAGS = -lX11 -lm -lXt -lXmu -lnsl 49LDFLAGS = -lX11 -lm -lXt -lXmu -lnsl
43 50
44# Use this for simulator-only files 51# Use this for simulator-only files
45INCLUDES = -I. -I$(DRIVERS) -I$(COMMON) -I$(FIRMWAREDIR) -I$(APPDIR) -I$(RECDIR) -I../common 52INCLUDES = -I. -I$(DRIVERS) -I$(COMMON) -I$(FIRMWAREDIR) -I$(APPDIR) -I$(MACHINEDIR) -I../common
46SRCDIRS = . $(DRIVERS) $(COMMON) $(FIRMWAREDIR) $(APPDIR) $(RECDIR) 53SRCDIRS = . $(DRIVERS) $(COMMON) $(FIRMWAREDIR) $(APPDIR) $(MACHINEDIR)
47 54
48# The true Rockbox Applications should use this include path: 55# The true Rockbox Applications should use this include path:
49APPINCLUDES = -I$(FIRMWAREDIR)/include $(INCLUDES) 56APPINCLUDES = -I$(FIRMWAREDIR)/include $(INCLUDES)
@@ -78,12 +85,12 @@ ifeq (LOADABLE_FONTS,$(findstring LOADABLE_FONTS, $(DEFINES)))
78endif 85endif
79 86
80APPS = main.c tree.c menu.c credits.c main_menu.c\ 87APPS = main.c tree.c menu.c credits.c main_menu.c\
81 playlist.c showtext.c wps.c wps-display.c settings.c status.c 88 playlist.c showtext.c wps.c wps-display.c settings.c status.c icons.c
82 89
83MENUS = games_menu.c screensavers_menu.c settings_menu.c sound_menu.c 90MENUS = games_menu.c screensavers_menu.c settings_menu.c sound_menu.c
84 91
85ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) 92ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
86 APPS += tetris.c sokoban.c blank.c bounce.c boxes.c icons.c bmp.c \ 93 APPS += tetris.c sokoban.c blank.c bounce.c boxes.c bmp.c \
87 widgets.c wormlet.c 94 widgets.c wormlet.c
88endif 95endif
89 96
@@ -170,7 +177,7 @@ $(OBJDIR)/screensavers_menu.o: $(APPDIR)/screensavers_menu.c
170$(OBJDIR)/settings_menu.o: $(APPDIR)/settings_menu.c 177$(OBJDIR)/settings_menu.o: $(APPDIR)/settings_menu.c
171 $(CC) $(APPCFLAGS) -c $< -o $@ 178 $(CC) $(APPCFLAGS) -c $< -o $@
172 179
173$(OBJDIR)/icons.o: $(RECDIR)/icons.c 180$(OBJDIR)/icons.o: $(MACHINEDIR)/icons.c
174 $(CC) $(APPCFLAGS) -c $< -o $@ 181 $(CC) $(APPCFLAGS) -c $< -o $@
175 182
176$(OBJDIR)/widgets.o: $(RECDIR)/widgets.c 183$(OBJDIR)/widgets.o: $(RECDIR)/widgets.c