diff options
-rw-r--r-- | uisimulator/win32/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile index 803cc64fef..28e0eea16c 100644 --- a/uisimulator/win32/Makefile +++ b/uisimulator/win32/Makefile | |||
@@ -91,7 +91,9 @@ $(OBJDIR)/uisw32-res.o: uisw32.rc | |||
91 | $(WINDRES) -i $< -o $@ | 91 | $(WINDRES) -i $< -o $@ |
92 | 92 | ||
93 | clean: | 93 | clean: |
94 | $(RM) $(OBJS) *~ core $(TARGET) $(CLIENTS) $(OBJDIR)/uisw32-res.o | 94 | $(RM) $(OBJS) *~ core $(TARGET) $(CLIENTS) $(OBJDIR)/uisw32-res.o \ |
95 | $(OBJDIR)/lang.[cho] $(OBJDIR)/build.lang $(OBJDIR)/*.o \ | ||
96 | $(OBJDIR)/sysfont.c | ||
95 | $(RM) -r $(DEPS) | 97 | $(RM) -r $(DEPS) |
96 | 98 | ||
97 | distclean: clean | 99 | distclean: clean |
@@ -163,8 +165,11 @@ $(OBJDIR)/playlist.o: $(APPDIR)/playlist.c | |||
163 | $(OBJDIR)/showtext.o: $(APPDIR)/showtext.c | 165 | $(OBJDIR)/showtext.o: $(APPDIR)/showtext.c |
164 | $(CC) $(APPCFLAGS) -c $< -o $@ | 166 | $(CC) $(APPCFLAGS) -c $< -o $@ |
165 | 167 | ||
166 | $(OBJDIR)/lang.o: $(APPDIR)/lang/$(LANGUAGE).lang | 168 | $(OBJDIR)/build.lang: $(APPDIR)/lang/$(LANGUAGE).lang |
167 | $(TOOLSDIR)/genlang -p=$(OBJDIR)/lang $< | 169 | perl $(TOOLSDIR)/uplang $(APPDIR)/lang/english.lang $< > $@ |
170 | |||
171 | $(OBJDIR)/lang.o: $(OBJDIR)/build.lang | ||
172 | perl -s $(TOOLSDIR)/genlang -p=$(OBJDIR)/lang $< | ||
168 | $(CC) $(CFLAGS) -c $(OBJDIR)/lang.c -o $@ | 173 | $(CC) $(CFLAGS) -c $(OBJDIR)/lang.c -o $@ |
169 | 174 | ||
170 | $(OBJDIR)/lcd-recorder.o: $(DRIVERS)/lcd-recorder.c | 175 | $(OBJDIR)/lcd-recorder.o: $(DRIVERS)/lcd-recorder.c |