diff options
Diffstat (limited to 'utils/MTP/beastpatcher')
-rw-r--r-- | utils/MTP/beastpatcher/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/utils/MTP/beastpatcher/Makefile b/utils/MTP/beastpatcher/Makefile index fad6a161e4..d02f83481d 100644 --- a/utils/MTP/beastpatcher/Makefile +++ b/utils/MTP/beastpatcher/Makefile | |||
@@ -47,6 +47,11 @@ beastpatcher.exe: $(SOURCES) $(HEADERS) $(MTPSRCS_W32) $(WINLIBS) | |||
47 | beastpatcher-mac: beastpatcher-i386 beastpatcher-ppc | 47 | beastpatcher-mac: beastpatcher-i386 beastpatcher-ppc |
48 | lipo -create beastpatcher-ppc beastpatcher-i386 -output beastpatcher-mac | 48 | lipo -create beastpatcher-ppc beastpatcher-i386 -output beastpatcher-mac |
49 | 49 | ||
50 | beastpatcher.dmg: beastpatcher-mac | ||
51 | mkdir -p beastpatcher-dmg | ||
52 | cp -p beastpatcher-mac beastpatcher-dmg | ||
53 | hdiutil create -srcfolder beastpatcher-dmg beastpatcher.dmg | ||
54 | |||
50 | beastpatcher-i386: $(SOURCES) $(HEADERS) $(MTPSRCS_MTP) usb.h libmtp.h libusb-i386.a libmtp-i386.a | 55 | beastpatcher-i386: $(SOURCES) $(HEADERS) $(MTPSRCS_MTP) usb.h libmtp.h libusb-i386.a libmtp-i386.a |
51 | gcc -c -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch i386 $(CFLAGS) -I. -DBEASTPATCHER $(SOURCES) $(MTPSRCS_MTP) | 56 | gcc -c -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch i386 $(CFLAGS) -I. -DBEASTPATCHER $(SOURCES) $(MTPSRCS_MTP) |
52 | gcc -framework iokit -framework coreservices -arch i386 -o beastpatcher-i386 $(OBJS) libusb-i386.a libmtp-i386.a -liconv | 57 | gcc -framework iokit -framework coreservices -arch i386 -o beastpatcher-i386 $(OBJS) libusb-i386.a libmtp-i386.a -liconv |
@@ -66,4 +71,5 @@ bootimg.c: bootloader.bin bin2c | |||
66 | mknkboot: mknkboot.c | 71 | mknkboot: mknkboot.c |
67 | $(SILENT)$(NATIVECC) $(CFLAGS) $+ -o $@ | 72 | $(SILENT)$(NATIVECC) $(CFLAGS) $+ -o $@ |
68 | clean: | 73 | clean: |
69 | rm -f beastpatcher.exe beastpatcher-mac beastpatcher-i386 beastpatcher-ppc beastpatcher bin2c bootimg.c bootimg.h mknkboot *~ *.o | 74 | rm -f beastpatcher.exe beastpatcher-mac beastpatcher-i386 beastpatcher-ppc beastpatcher bin2c bootimg.c bootimg.h mknkboot *~ *.o beastpatcher.dmg |
75 | rm -rf beastpatcher-dmg | ||