summaryrefslogtreecommitdiff
path: root/uisimulator/win32/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/win32/Makefile')
-rw-r--r--uisimulator/win32/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile
index a0fd6e8a56..d66fa6b2c4 100644
--- a/uisimulator/win32/Makefile
+++ b/uisimulator/win32/Makefile
@@ -98,7 +98,7 @@ FIRMSRCS = $(LCDSRSC) id3.c mp3data.c usb.c mpeg.c powermgmt.c power.c \
98APPS = main.c tree.c menu.c credits.c main_menu.c icons.c language.c \ 98APPS = main.c tree.c menu.c credits.c main_menu.c icons.c language.c \
99 playlist.c wps.c wps-display.c settings.c status.c \ 99 playlist.c wps.c wps-display.c settings.c status.c \
100 screens.c peakmeter.c sleeptimer.c keyboard.c onplay.c\ 100 screens.c peakmeter.c sleeptimer.c keyboard.c onplay.c\
101 misc.c 101 misc.c plugin.c
102 102
103MENUS = games_menu.c demo_menu.c settings_menu.c sound_menu.c 103MENUS = games_menu.c demo_menu.c settings_menu.c sound_menu.c
104 104
@@ -108,12 +108,11 @@ endif
108 108
109SRCS = button.c dir-win32.c lcd-win32.c panic-win32.c thread-win32.c \ 109SRCS = button.c dir-win32.c lcd-win32.c panic-win32.c thread-win32.c \
110 debug-win32.c kernel.c string-win32.c uisw32.c stubs.c \ 110 debug-win32.c kernel.c string-win32.c uisw32.c stubs.c \
111 $(APPS) $(MENUS) $(FIRMSRCS) strtok.c sim_icons.c io.c plugin-win32.c 111 $(APPS) $(MENUS) $(FIRMSRCS) strtok.c sim_icons.c io.c
112 112
113OBJS := $(OBJDIR)/lang.o $(SRCS:%.c=$(OBJDIR)/%.o) $(OBJDIR)/uisw32-res.o 113OBJS := $(OBJDIR)/lang.o $(SRCS:%.c=$(OBJDIR)/%.o) $(OBJDIR)/uisw32-res.o
114 114
115ROCKSRCS = bounce.c cube.c flipit.c helloworld.c sliding_puzzle.c snow.c \ 115ROCKSRCS := $(patsubst $(PLUGINDIR)/%.c,%.c,$(wildcard $(PLUGINDIR)/*.c))
116 sokoban.c star.c tetris.c viewer.c wormlet.c
117 116
118ROCKS := $(ROCKSRCS:%.c=$(OBJDIR)/%.rock) 117ROCKS := $(ROCKSRCS:%.c=$(OBJDIR)/%.rock)
119 118
@@ -197,6 +196,9 @@ $(OBJDIR)/onplay.o: $(APPDIR)/onplay.c
197$(OBJDIR)/playlist.o: $(APPDIR)/playlist.c 196$(OBJDIR)/playlist.o: $(APPDIR)/playlist.c
198 $(CC) $(APPCFLAGS) -c $< -o $@ 197 $(CC) $(APPCFLAGS) -c $< -o $@
199 198
199$(OBJDIR)/plugin.o: $(APPDIR)/plugin.c plugin-win32.h
200 $(CC) $(APPCFLAGS) -c $< -o $@
201
200$(OBJDIR)/build.lang: $(APPDIR)/lang/$(LANGUAGE).lang 202$(OBJDIR)/build.lang: $(APPDIR)/lang/$(LANGUAGE).lang
201 perl $(TOOLSDIR)/uplang $(APPDIR)/lang/english.lang $< > $@ 203 perl $(TOOLSDIR)/uplang $(APPDIR)/lang/english.lang $< > $@
202 204
@@ -292,7 +294,7 @@ $(OBJDIR)/%.po : $(PLUGINDIR)/%.c
292 $(CC) $(CFLAGS) -c $< -o $@ 294 $(CC) $(CFLAGS) -c $< -o $@
293 295
294$(OBJDIR)/%.rock : $(OBJDIR)/%.po 296$(OBJDIR)/%.rock : $(OBJDIR)/%.po
295 $(DLL) $(DLLFLAGS) $< -o $@ 297 -$(DLL) $(DLLFLAGS) $< -o $@
296 298
297DEPS:=$(OBJDIR)/.deps 299DEPS:=$(OBJDIR)/.deps
298 300