summaryrefslogtreecommitdiffstats
path: root/rbutil/ipodpatcher
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2013-04-01 21:30:26 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2013-04-04 22:42:22 +0200
commitb3ef8c8e5bb85ea5186156b75fc009f1c6831cb6 (patch)
treec796fbb5369457bccf7c6d1f375122bf98ac563a /rbutil/ipodpatcher
parent86d46b626b347463c688206dc49ec3a716a444c3 (diff)
downloadrockbox-b3ef8c8e5bb85ea5186156b75fc009f1c6831cb6.tar.gz
rockbox-b3ef8c8e5bb85ea5186156b75fc009f1c6831cb6.tar.bz2
rockbox-b3ef8c8e5bb85ea5186156b75fc009f1c6831cb6.zip
Put resource object into object folder.
Use correct path for windres output. Fixes windres running even if no changes are present. Change-Id: I2841113bab9b38f2a03ba2f168b3d8bdb5c102df
Diffstat (limited to 'rbutil/ipodpatcher')
-rw-r--r--rbutil/ipodpatcher/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/rbutil/ipodpatcher/Makefile b/rbutil/ipodpatcher/Makefile
index d2fec80b39..79fe4c7c03 100644
--- a/rbutil/ipodpatcher/Makefile
+++ b/rbutil/ipodpatcher/Makefile
@@ -36,13 +36,14 @@ LIBSOURCES = ipodpatcher.c fat32format.c arc4.c \
ipodio-posix.c ipodio-win32-scsi.c ipodio-win32.c
SOURCES = main.c $(BOOTSRC) $(LIBSOURCES)
ipodpatcher: SOURCES+= ipodio-posix.c
-ipodpatcher.exe: SOURCES+= ipodpatcher-rc.o
OUTPUT = ipodpatcher
include ../libtools.make
+ipodpatcher.exe: $(OBJDIR)ipodpatcher-rc.o
$(OBJDIR)ipodpatcher-rc.o: ipodpatcher.rc ipodpatcher.manifest
- $(CROSS)$(WINDRES) -i ipodpatcher.rc -o ipodpatcher-rc.o
+ @echo WINDRES $(notdir $<)
+ $(SILENT)$(CROSS)$(WINDRES) -i $< -o $@
%.c: bootloader-%.ipod $(BIN2C)
@echo BIN2C $<