diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-09-03 10:13:46 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-09-03 10:13:46 +0000 |
commit | 62794583efb6a303937e99201d78e8736592c5d7 (patch) | |
tree | b3e79e7822f7416be8410609004519137539da77 /uisimulator/win32/Makefile | |
parent | c521ed128d1afeea9bfad134358f6c3a7df9f2c0 (diff) | |
download | rockbox-62794583efb6a303937e99201d78e8736592c5d7.tar.gz rockbox-62794583efb6a303937e99201d78e8736592c5d7.zip |
Updated win32 Makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2150 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/win32/Makefile')
-rw-r--r-- | uisimulator/win32/Makefile | 15 |
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 | ||
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,7 +49,7 @@ $(KEYPAD) $(DISPLAY) -DAPPSVERSION=\"$(VERSION)\" | |||
42 | LDFLAGS = -lgdi32 -luser32 -mwindows | 49 | LDFLAGS = -lgdi32 -luser32 -mwindows |
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 -I$(MACHINEDIR) |
46 | 53 | ||
47 | # The true Rockbox Applications should use this include path: | 54 | # The true Rockbox Applications should use this include path: |
48 | APPINCLUDES = -I$(FIRMWAREDIR)/include $(INCLUDES) | 55 | APPINCLUDES = -I$(FIRMWAREDIR)/include $(INCLUDES) |
@@ -56,13 +63,13 @@ APPCFLAGS = $(DEBUG) $(DEFINES) $(APPINCLUDES) -W -Wall -mwindows | |||
56 | FIRMSRCS = chartables.c lcd.c power.c sprintf.c id3.c usb.c \ | 63 | FIRMSRCS = chartables.c lcd.c power.c sprintf.c id3.c usb.c \ |
57 | mpeg.c powermgmt.c | 64 | mpeg.c powermgmt.c |
58 | 65 | ||
59 | APPS = main.c tree.c menu.c credits.c main_menu.c\ | 66 | APPS = 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 | ||
62 | MENUS = games_menu.c screensavers_menu.c settings_menu.c sound_menu.c | 69 | MENUS = games_menu.c screensavers_menu.c settings_menu.c sound_menu.c |
63 | 70 | ||
64 | ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) | 71 | ifeq ($(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 |
67 | endif | 74 | endif |
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 |