summaryrefslogtreecommitdiffstats
path: root/rbutil/ipodpatcher/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/ipodpatcher/Makefile')
-rw-r--r--rbutil/ipodpatcher/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/rbutil/ipodpatcher/Makefile b/rbutil/ipodpatcher/Makefile
index bae805671e..afdcaa5039 100644
--- a/rbutil/ipodpatcher/Makefile
+++ b/rbutil/ipodpatcher/Makefile
@@ -45,14 +45,11 @@ include ../libtools.make
$(OBJDIR)ipodpatcher-rc.o: ipodpatcher.rc ipodpatcher.manifest
$(CROSS)$(WINDRES) -i ipodpatcher.rc -o ipodpatcher-rc.o
-ipod2c: ipod2c.c
- $(NATIVECC) $(CFLAGS) -o ipod2c ipod2c.c
+%.c: bootloader-%.ipod $(BIN2C)
+ @echo BIN2C $<
+ $(SILENT)$(BIN2C) -i $< $*
-%.c: bootloader-%.ipod ipod2c
- @echo IPOD2C $<
- $(SILENT)./ipod2c $< $*
-
-%.c: bootloader-%.ipodx ipod2c
- @echo IPOD2C $<
- $(SILENT)./ipod2c $< $*
+%.c: bootloader-%.ipodx $(BIN2C)
+ @echo BIN2C $<
+ $(SILENT)$(BIN2C) -i $< $*