summaryrefslogtreecommitdiff
path: root/utils/MTP/beastpatcher/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/MTP/beastpatcher/Makefile')
-rw-r--r--utils/MTP/beastpatcher/Makefile12
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
31all: $(OUTPUT) 31all: $(OUTPUT)
32 32
33beastpatcher: beastpatcher.c bootimg.c mtp_common.h mtp_libmtp.c 33beastpatcher: 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
37beastpatcher.exe: beastpatcher.c bootimg.c mtp_common.h mtp_win32.c $(WINLIBS) 37beastpatcher.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
41beastpatcher-mac: beastpatcher-i386 beastpatcher-ppc 41beastpatcher-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
44beastpatcher-i386: beastpatcher.c bootimg.c usb.h libusb-i386.a 44beastpatcher-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
48beastpatcher-ppc: beastpatcher.c bootimg.c usb.h libusb-ppc.a 48beastpatcher-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