From b3ef8c8e5bb85ea5186156b75fc009f1c6831cb6 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Mon, 1 Apr 2013 21:30:26 +0200 Subject: Put resource object into object folder. Use correct path for windres output. Fixes windres running even if no changes are present. Change-Id: I2841113bab9b38f2a03ba2f168b3d8bdb5c102df --- rbutil/ipodpatcher/Makefile | 5 +++-- rbutil/sansapatcher/Makefile | 3 ++- 2 files changed, 5 insertions(+), 3 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 $< diff --git a/rbutil/sansapatcher/Makefile b/rbutil/sansapatcher/Makefile index 4e86d6b06f..08af2bb6c8 100644 --- a/rbutil/sansapatcher/Makefile +++ b/rbutil/sansapatcher/Makefile @@ -39,7 +39,8 @@ endif $(OBJDIR)main.o: $(BOOTSRC) $(OBJDIR)sansapatcher-rc.o: sansapatcher.rc sansapatcher.manifest - $(CROSS)$(WINDRES) -i sansapatcher.rc -o sansapatcher-rc.o + @echo WINDRES $(notdir $<) + $(SILENT)$(CROSS)$(WINDRES) -i sansapatcher.rc -o $@ bootimg_c200.c: firmware.mi4 $(BIN2C) @echo BIN2C $< -- cgit v1.2.3