diff options
Diffstat (limited to 'uisimulator/win32/Makefile')
-rw-r--r-- | uisimulator/win32/Makefile | 12 |
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 \ | |||
98 | APPS = main.c tree.c menu.c credits.c main_menu.c icons.c language.c \ | 98 | APPS = 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 | ||
103 | MENUS = games_menu.c demo_menu.c settings_menu.c sound_menu.c | 103 | MENUS = games_menu.c demo_menu.c settings_menu.c sound_menu.c |
104 | 104 | ||
@@ -108,12 +108,11 @@ endif | |||
108 | 108 | ||
109 | SRCS = button.c dir-win32.c lcd-win32.c panic-win32.c thread-win32.c \ | 109 | SRCS = 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 | ||
113 | OBJS := $(OBJDIR)/lang.o $(SRCS:%.c=$(OBJDIR)/%.o) $(OBJDIR)/uisw32-res.o | 113 | OBJS := $(OBJDIR)/lang.o $(SRCS:%.c=$(OBJDIR)/%.o) $(OBJDIR)/uisw32-res.o |
114 | 114 | ||
115 | ROCKSRCS = bounce.c cube.c flipit.c helloworld.c sliding_puzzle.c snow.c \ | 115 | ROCKSRCS := $(patsubst $(PLUGINDIR)/%.c,%.c,$(wildcard $(PLUGINDIR)/*.c)) |
116 | sokoban.c star.c tetris.c viewer.c wormlet.c | ||
117 | 116 | ||
118 | ROCKS := $(ROCKSRCS:%.c=$(OBJDIR)/%.rock) | 117 | ROCKS := $(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 | ||
297 | DEPS:=$(OBJDIR)/.deps | 299 | DEPS:=$(OBJDIR)/.deps |
298 | 300 | ||