diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-09-03 08:30:15 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-09-03 08:30:15 +0000 |
commit | 7f22b84793237c065de5b455e597fcc64fd50f0e (patch) | |
tree | 1e789319793b46e78bafe7055b9a81d50306e652 | |
parent | 644e4ce792817be267373b7713c07fe10ea76278 (diff) | |
download | rockbox-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/Makefile | 17 |
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 | ||
20 | APPDIR = ../../apps | 20 | APPDIR = ../../apps |
21 | RECDIR = $(APPDIR)/recorder | 21 | RECDIR = $(APPDIR)/recorder |
22 | PLAYDIR = $(APPDIR)/player | ||
23 | |||
24 | ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) | ||
25 | MACHINEDIR = $(RECDIR) | ||
26 | else | ||
27 | MACHINEDIR = $(PLAYDIR) | ||
28 | endif | ||
22 | 29 | ||
23 | PREVAPPDIR= .. | 30 | PREVAPPDIR= .. |
24 | FIRMWAREDIR = ../../firmware | 31 | FIRMWAREDIR = ../../firmware |
@@ -42,8 +49,8 @@ $(KEYPAD) $(DISPLAY) $(EXTRA_DEFINES) | |||
42 | LDFLAGS = -lX11 -lm -lXt -lXmu -lnsl | 49 | LDFLAGS = -lX11 -lm -lXt -lXmu -lnsl |
43 | 50 | ||
44 | # Use this for simulator-only files | 51 | # Use this for simulator-only files |
45 | INCLUDES = -I. -I$(DRIVERS) -I$(COMMON) -I$(FIRMWAREDIR) -I$(APPDIR) -I$(RECDIR) -I../common | 52 | INCLUDES = -I. -I$(DRIVERS) -I$(COMMON) -I$(FIRMWAREDIR) -I$(APPDIR) -I$(MACHINEDIR) -I../common |
46 | SRCDIRS = . $(DRIVERS) $(COMMON) $(FIRMWAREDIR) $(APPDIR) $(RECDIR) | 53 | SRCDIRS = . $(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: |
49 | APPINCLUDES = -I$(FIRMWAREDIR)/include $(INCLUDES) | 56 | APPINCLUDES = -I$(FIRMWAREDIR)/include $(INCLUDES) |
@@ -78,12 +85,12 @@ ifeq (LOADABLE_FONTS,$(findstring LOADABLE_FONTS, $(DEFINES))) | |||
78 | endif | 85 | endif |
79 | 86 | ||
80 | APPS = main.c tree.c menu.c credits.c main_menu.c\ | 87 | APPS = 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 | ||
83 | MENUS = games_menu.c screensavers_menu.c settings_menu.c sound_menu.c | 90 | MENUS = games_menu.c screensavers_menu.c settings_menu.c sound_menu.c |
84 | 91 | ||
85 | ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) | 92 | ifeq ($(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 |
88 | endif | 95 | endif |
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 |