summaryrefslogtreecommitdiff
path: root/rbutil/e200rpatcher/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/e200rpatcher/Makefile')
-rw-r--r--rbutil/e200rpatcher/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/rbutil/e200rpatcher/Makefile b/rbutil/e200rpatcher/Makefile
index d8a308df31..8ca0b0aad0 100644
--- a/rbutil/e200rpatcher/Makefile
+++ b/rbutil/e200rpatcher/Makefile
@@ -32,6 +32,11 @@ e200rpatcher-rc.o: e200rpatcher.rc e200rpatcher.manifest
32e200rpatcher-mac: e200rpatcher-i386 e200rpatcher-ppc 32e200rpatcher-mac: e200rpatcher-i386 e200rpatcher-ppc
33 lipo -create e200rpatcher-ppc e200rpatcher-i386 -output e200rpatcher-mac 33 lipo -create e200rpatcher-ppc e200rpatcher-i386 -output e200rpatcher-mac
34 34
35e200rpatcher.dmg: e200rpatcher-mac
36 mkdir e200rpatcher-dmg
37 cp e200rpatcher-mac e200rpatcher-dmg
38 hdiutil create -srcfolder e200rpatcher-dmg e200rpatcher.dmg
39
35e200rpatcher-i386: e200rpatcher.c bootimg.c usb.h libusb-i386.a 40e200rpatcher-i386: e200rpatcher.c bootimg.c usb.h libusb-i386.a
36 gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -framework iokit -framework coreservices -arch i386 $(CFLAGS) -o e200rpatcher-i386 e200rpatcher.c bootimg.c -I. libusb-i386.a 41 gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -framework iokit -framework coreservices -arch i386 $(CFLAGS) -o e200rpatcher-i386 e200rpatcher.c bootimg.c -I. libusb-i386.a
37 strip e200rpatcher-i386 42 strip e200rpatcher-i386
@@ -47,4 +52,5 @@ bootimg.c: bootloader.bin bin2c
47 ./bin2c bootloader.bin bootimg 52 ./bin2c bootloader.bin bootimg
48 53
49clean: 54clean:
50 rm -f e200rpatcher.exe e200rpatcher-mac e200rpatcher-i386 e200rpatcher-ppc e200rpatcher bin2c bootimg.c bootimg.h *~ 55 rm -f e200rpatcher.exe e200rpatcher-mac e200rpatcher-i386 e200rpatcher-ppc e200rpatcher bin2c bootimg.c bootimg.h *~ e200rpatcher.dmg
56 rm -rf e200rpatcher-dmg