diff options
Diffstat (limited to 'utils/MTP/beastpatcher/Makefile')
-rw-r--r-- | utils/MTP/beastpatcher/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/utils/MTP/beastpatcher/Makefile b/utils/MTP/beastpatcher/Makefile index 9c3ed571ee..5f3951d8be 100644 --- a/utils/MTP/beastpatcher/Makefile +++ b/utils/MTP/beastpatcher/Makefile | |||
@@ -30,22 +30,22 @@ CC = $(CROSS)gcc | |||
30 | 30 | ||
31 | all: $(OUTPUT) | 31 | all: $(OUTPUT) |
32 | 32 | ||
33 | beastpatcher: beastpatcher.c bootimg.c mtp_common.h mtp_libmtp.c | 33 | beastpatcher: beastpatcher.c bootimg.c mtp_common.h mtp_libmtp.c main.c |
34 | gcc $(CFLAGS) -o beastpatcher beastpatcher.c bootimg.c mtp_libmtp.c $(LIBS) | 34 | gcc $(CFLAGS) -o beastpatcher beastpatcher.c bootimg.c mtp_libmtp.c main.c $(LIBS) |
35 | strip beastpatcher | 35 | strip beastpatcher |
36 | 36 | ||
37 | beastpatcher.exe: beastpatcher.c bootimg.c mtp_common.h mtp_win32.c $(WINLIBS) | 37 | beastpatcher.exe: beastpatcher.c bootimg.c mtp_common.h mtp_win32.c main.c $(WINLIBS) |
38 | $(CC) $(CFLAGS) -o beastpatcher.exe beastpatcher.c bootimg.c mtp_win32.c $(WINLIBS) | 38 | $(CC) $(CFLAGS) -o beastpatcher.exe beastpatcher.c bootimg.c mtp_win32.c main.c $(WINLIBS) |
39 | $(CROSS)strip beastpatcher.exe | 39 | $(CROSS)strip beastpatcher.exe |
40 | 40 | ||
41 | beastpatcher-mac: beastpatcher-i386 beastpatcher-ppc | 41 | beastpatcher-mac: beastpatcher-i386 beastpatcher-ppc |
42 | lipo -create beastpatcher-ppc beastpatcher-i386 -output beastpatcher-mac | 42 | lipo -create beastpatcher-ppc beastpatcher-i386 -output beastpatcher-mac |
43 | 43 | ||
44 | beastpatcher-i386: beastpatcher.c bootimg.c usb.h libusb-i386.a | 44 | beastpatcher-i386: beastpatcher.c bootimg.c usb.h main.c libusb-i386.a |
45 | $(CC) -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -framework iokit -framework coreservices -arch i386 $(CFLAGS) -o beastpatcher-i386 beastpatcher.c bootimg.c -I. libusb-i386.a | 45 | $(CC) -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -framework iokit -framework coreservices -arch i386 $(CFLAGS) -o beastpatcher-i386 beastpatcher.c bootimg.c -I. libusb-i386.a |
46 | strip beastpatcher-i386 | 46 | strip beastpatcher-i386 |
47 | 47 | ||
48 | beastpatcher-ppc: beastpatcher.c bootimg.c usb.h libusb-ppc.a | 48 | beastpatcher-ppc: beastpatcher.c bootimg.c usb.h main.c libusb-ppc.a |
49 | $(CC) -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -framework iokit -framework coreservices -arch ppc $(CFLAGS) -o beastpatcher-ppc beastpatcher.c bootimg.c -I. libusb-ppc.a | 49 | $(CC) -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -framework iokit -framework coreservices -arch ppc $(CFLAGS) -o beastpatcher-ppc beastpatcher.c bootimg.c -I. libusb-ppc.a |
50 | strip beastpatcher-ppc | 50 | strip beastpatcher-ppc |
51 | 51 | ||