summaryrefslogtreecommitdiff
path: root/uisimulator/win32/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/win32/Makefile')
-rw-r--r--uisimulator/win32/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile
index 59ef7f5206..402b9addd5 100644
--- a/uisimulator/win32/Makefile
+++ b/uisimulator/win32/Makefile
@@ -96,6 +96,8 @@ ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
96else 96else
97 LCDSRSC = lcd-playersim.c lcd-player.c lcd-player-charset.c font-player.c 97 LCDSRSC = lcd-playersim.c lcd-player.c lcd-player-charset.c font-player.c
98endif 98endif
99COMMONSRCS = io.c
100
99FIRMSRCS = $(LCDSRSC) id3.c mp3data.c usb.c mpeg.c mp3_playback.c \ 101FIRMSRCS = $(LCDSRSC) id3.c mp3data.c usb.c mpeg.c mp3_playback.c \
100 powermgmt.c power.c sprintf.c buffer.c lcd-common.c strtok.c random.c \ 102 powermgmt.c power.c sprintf.c buffer.c lcd-common.c strtok.c random.c \
101 timefuncs.c 103 timefuncs.c
@@ -111,9 +113,9 @@ ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
111 APPS += bmp.c widgets.c 113 APPS += bmp.c widgets.c
112endif 114endif
113 115
114SRCS = button.c dir-win32.c lcd-win32.c panic-win32.c thread-win32.c \ 116SRCS = button.c lcd-win32.c panic-win32.c thread-win32.c \
115 debug-win32.c kernel.c string-win32.c uisw32.c stubs.c \ 117 debug-win32.c kernel.c string-win32.c uisw32.c stubs.c \
116 $(APPS) $(MENUS) $(FIRMSRCS) sim_icons.c io.c 118 $(APPS) $(MENUS) $(FIRMSRCS) $(COMMONSRCS) sim_icons.c
117 119
118OBJS := $(OBJDIR)/lang.o $(SRCS:%.c=$(OBJDIR)/%.o) $(OBJDIR)/uisw32-res.o 120OBJS := $(OBJDIR)/lang.o $(SRCS:%.c=$(OBJDIR)/%.o) $(OBJDIR)/uisw32-res.o
119 121
@@ -303,6 +305,9 @@ $(OBJDIR)/font-player.o: $(SIMCOMMON)/font-player.c
303$(OBJDIR)/sim_icons.o: $(SIMCOMMON)/sim_icons.c 305$(OBJDIR)/sim_icons.o: $(SIMCOMMON)/sim_icons.c
304 $(CC) $(CFLAGS) -c $< -o $@ 306 $(CC) $(CFLAGS) -c $< -o $@
305 307
308$(OBJDIR)/io.o: $(SIMCOMMON)/io.c
309 $(CC) $(CFLAGS) -c $< -o $@
310
306$(OBJDIR)/lcd-playersim.o: $(SIMCOMMON)/lcd-playersim.c 311$(OBJDIR)/lcd-playersim.o: $(SIMCOMMON)/lcd-playersim.c
307 $(CC) $(CFLAGS) -c $< -o $@ 312 $(CC) $(CFLAGS) -c $< -o $@
308 313
@@ -315,7 +320,7 @@ $(OBJDIR)/%.o: %.c
315 $(CC) $(CFLAGS) -c $< -o $@ 320 $(CC) $(CFLAGS) -c $< -o $@
316 321
317$(OBJDIR)/%.po : $(PLUGINDIR)/%.c 322$(OBJDIR)/%.po : $(PLUGINDIR)/%.c
318 $(CC) $(APPCFLAGS) -c $< -o $@ 323 $(CC) $(APPCFLAGS) -DPLUGIN -c $< -o $@
319 324
320$(OBJDIR)/%.rock : $(OBJDIR)/%.po 325$(OBJDIR)/%.rock : $(OBJDIR)/%.po
321 $(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $< 326 $(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $<