summaryrefslogtreecommitdiff
path: root/uisimulator/win32/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/win32/Makefile')
-rw-r--r--uisimulator/win32/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile
index c3a585e64e..c852088588 100644
--- a/uisimulator/win32/Makefile
+++ b/uisimulator/win32/Makefile
@@ -40,6 +40,7 @@ DEBUG = -g
40 40
41# where to put all output files 41# where to put all output files
42OBJDIR = . 42OBJDIR = .
43LANGUAGE = english
43 44
44TARGET = $(OBJDIR)/uisw32.exe 45TARGET = $(OBJDIR)/uisw32.exe
45 46
@@ -49,7 +50,7 @@ $(KEYPAD) $(DISPLAY) -DAPPSVERSION=\"$(VERSION)\"
49LDFLAGS = -lgdi32 -luser32 -mwindows 50LDFLAGS = -lgdi32 -luser32 -mwindows
50 51
51# Use this for simulator-only files 52# Use this for simulator-only files
52INCLUDES = -I. -I$(DRIVERS) -I$(COMMON) -I$(FIRMWAREDIR) -I$(APPDIR) -I$(MACHINEDIR) -I../common -I$(MACHINEDIR) 53INCLUDES = -I. -I$(DRIVERS) -I$(COMMON) -I$(FIRMWAREDIR) -I$(APPDIR) -I$(MACHINEDIR) -I../common -I$(MACHINEDIR) -I$(OBJDIR)
53 54
54# The true Rockbox Applications should use this include path: 55# The true Rockbox Applications should use this include path:
55APPINCLUDES = -I$(FIRMWAREDIR)/include $(INCLUDES) 56APPINCLUDES = -I$(FIRMWAREDIR)/include $(INCLUDES)
@@ -64,8 +65,7 @@ FIRMSRCS = lcd.c power.c sprintf.c id3.c usb.c \
64 mpeg.c powermgmt.c font.c loadfont.c X5x8.c 65 mpeg.c powermgmt.c font.c loadfont.c X5x8.c
65 66
66APPS = main.c tree.c menu.c credits.c main_menu.c icons.c \ 67APPS = main.c tree.c menu.c credits.c main_menu.c icons.c \
67 playlist.c showtext.c wps.c wps-display.c settings.c status.c \ 68 playlist.c showtext.c wps.c wps-display.c settings.c status.c
68 lang.c
69 69
70MENUS = games_menu.c demo_menu.c settings_menu.c sound_menu.c 70MENUS = games_menu.c demo_menu.c settings_menu.c sound_menu.c
71 71
@@ -78,7 +78,7 @@ SRCS = button.c dir-win32.c lcd-win32.c panic-win32.c thread-win32.c \
78 debug-win32.c kernel.c string-win32.c uisw32.c stubs.c \ 78 debug-win32.c kernel.c string-win32.c uisw32.c stubs.c \
79 $(APPS) $(MENUS) $(FIRMSRCS) strtok.c sim_icons.c 79 $(APPS) $(MENUS) $(FIRMSRCS) strtok.c sim_icons.c
80 80
81OBJS := $(SRCS:%.c=$(OBJDIR)/%.o) $(OBJDIR)/uisw32-res.o 81OBJS := $(OBJDIR)/lang.o $(SRCS:%.c=$(OBJDIR)/%.o) $(OBJDIR)/uisw32-res.o
82 82
83all: $(TARGET) 83all: $(TARGET)
84 84
@@ -161,8 +161,9 @@ $(OBJDIR)/playlist.o: $(APPDIR)/playlist.c
161$(OBJDIR)/showtext.o: $(APPDIR)/showtext.c 161$(OBJDIR)/showtext.o: $(APPDIR)/showtext.c
162 $(CC) $(APPCFLAGS) -c $< -o $@ 162 $(CC) $(APPCFLAGS) -c $< -o $@
163 163
164$(OBJDIR)/lang.o: $(APPDIR)/lang.c 164$(OBJDIR)/lang.o: $(APPDIR)/lang/$(LANGUAGE).lang
165 $(CC) $(APPCFLAGS) -c $< -o $@ 165 $(TOOLSDIR)/genlang -p=$(OBJDIR)/lang $<
166 $(CC) $(CFLAGS) -c $(OBJDIR)/lang.c -o $@
166 167
167$(OBJDIR)/lcd.o: $(DRIVERS)/lcd.c 168$(OBJDIR)/lcd.o: $(DRIVERS)/lcd.c
168 $(CC) $(APPCFLAGS) -c $< -o $@ 169 $(CC) $(APPCFLAGS) -c $< -o $@