From 9f700acd0b9e2628e62910fe463c08365febe8f7 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 17 Jan 2005 00:25:23 +0000 Subject: 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 --- uisimulator/win32/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'uisimulator/win32/Makefile') 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 -- cgit v1.2.3