summaryrefslogtreecommitdiff
path: root/uisimulator/win32/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/win32/Makefile')
-rw-r--r--uisimulator/win32/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile
index 43adca3cb4..0a88e91d0f 100644
--- a/uisimulator/win32/Makefile
+++ b/uisimulator/win32/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,7 +49,7 @@ $(KEYPAD) $(DISPLAY) -DAPPSVERSION=\"$(VERSION)\"
42LDFLAGS = -lgdi32 -luser32 -mwindows 49LDFLAGS = -lgdi32 -luser32 -mwindows
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 -I$(MACHINEDIR)
46 53
47# The true Rockbox Applications should use this include path: 54# The true Rockbox Applications should use this include path:
48APPINCLUDES = -I$(FIRMWAREDIR)/include $(INCLUDES) 55APPINCLUDES = -I$(FIRMWAREDIR)/include $(INCLUDES)
@@ -56,13 +63,13 @@ APPCFLAGS = $(DEBUG) $(DEFINES) $(APPINCLUDES) -W -Wall -mwindows
56FIRMSRCS = chartables.c lcd.c power.c sprintf.c id3.c usb.c \ 63FIRMSRCS = chartables.c lcd.c power.c sprintf.c id3.c usb.c \
57 mpeg.c powermgmt.c 64 mpeg.c powermgmt.c
58 65
59APPS = main.c tree.c menu.c credits.c main_menu.c\ 66APPS = main.c tree.c menu.c credits.c main_menu.c icons.c \
60 playlist.c showtext.c wps.c wps-display.c settings.c status.c 67 playlist.c showtext.c wps.c wps-display.c settings.c status.c
61 68
62MENUS = games_menu.c screensavers_menu.c settings_menu.c sound_menu.c 69MENUS = games_menu.c screensavers_menu.c settings_menu.c sound_menu.c
63 70
64ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) 71ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
65 APPS += tetris.c sokoban.c blank.c bounce.c boxes.c icons.c bmp.c \ 72 APPS += tetris.c sokoban.c blank.c bounce.c boxes.c bmp.c \
66 widgets.c wormlet.c 73 widgets.c wormlet.c
67endif 74endif
68 75
@@ -108,7 +115,7 @@ $(OBJDIR)/screensavers_menu.o: $(APPDIR)/screensavers_menu.c
108$(OBJDIR)/settings_menu.o: $(APPDIR)/settings_menu.c 115$(OBJDIR)/settings_menu.o: $(APPDIR)/settings_menu.c
109 $(CC) $(APPCFLAGS) -c $< -o $@ 116 $(CC) $(APPCFLAGS) -c $< -o $@
110 117
111$(OBJDIR)/icons.o: $(RECDIR)/icons.c 118$(OBJDIR)/icons.o: $(MACHINEDIR)/icons.c
112 $(CC) $(APPCFLAGS) -c $< -o $@ 119 $(CC) $(APPCFLAGS) -c $< -o $@
113 120
114$(OBJDIR)/widgets.o: $(RECDIR)/widgets.c 121$(OBJDIR)/widgets.o: $(RECDIR)/widgets.c