summaryrefslogtreecommitdiff
path: root/uisimulator/win32/Makefile
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-01-17 00:25:23 +0000
committerJens Arnold <amiconn@rockbox.org>2005-01-17 00:25:23 +0000
commit9f700acd0b9e2628e62910fe463c08365febe8f7 (patch)
tree9ac908f622c3a6b544d6b4f3381011bf459a3c6a /uisimulator/win32/Makefile
parent3d1ca9deb5439da170f206504945172b149ebabf (diff)
Win32 simulator extensions, based on patch #1041560 by Eric Lassauge: Background pictures, LCD colours and dimensions depending on unit; build uses language selected in configure. Fixed vertical window size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5568 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/win32/Makefile')
-rw-r--r--uisimulator/win32/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile
index d04bf050ef..8509948457 100644
--- a/uisimulator/win32/Makefile
+++ b/uisimulator/win32/Makefile
@@ -55,8 +55,6 @@ no_configure:
@echo "http://rockbox.haxx.se/docs/how_to_compile.html"
endif
-LANGUAGE = english
-
DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \
$(TARGET) -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES)
@@ -146,14 +144,19 @@ clean:
$(OBJDIR)/lang.[cho] $(OBJDIR)/build.lang $(OBJDIR)/*.o \
$(OBJDIR)/*.rock $(OBJDIR)/*.def $(OBJDIR)/sysfont.c \
$(OBJDIR)/credits.raw $(OBJDIR)/libplugin.a
+ $(RM) -f $(OBJDIR)/UI256.bmp
$(RM) -r $(DEPS)
################## Specific dependencies ##################
$(OBJDIR)/credits.raw: $(DOCSDIR)/CREDITS
perl $(APPDIR)/credits.pl < $< > $@
-$(OBJDIR)/uisw32-res.o: uisw32.rc
- $(WINDRES) -i $< -o $@
+$(OBJDIR)/UI256.bmp: UI-$(ARCHOS).bmp
+ @echo UI
+ @cp $< $@
+
+$(OBJDIR)/uisw32-res.o: uisw32.rc $(OBJDIR)/UI256.bmp
+ $(WINDRES) -I$(OBJDIR) -i $< -o $@
$(OBJDIR)/credits.o: $(APPDIR)/credits.c $(APPDIR)/credits.h $(OBJDIR)/credits.raw