summaryrefslogtreecommitdiffstats
path: root/rbutil/e200rpatcher/Makefile
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-09-11 16:47:26 +0000
committerDave Chapman <dave@dchapman.com>2007-09-11 16:47:26 +0000
commit7eb73ef993b1b6c50d739ee2db23dcf1569cb651 (patch)
treeb8d4e1ff013f2a1ecb5f9e8c045ec50dcfc46835 /rbutil/e200rpatcher/Makefile
parentcab33b64a02cc17e9da85695817e6196cec4a345 (diff)
downloadrockbox-7eb73ef993b1b6c50d739ee2db23dcf1569cb651.tar.gz
rockbox-7eb73ef993b1b6c50d739ee2db23dcf1569cb651.tar.bz2
rockbox-7eb73ef993b1b6c50d739ee2db23dcf1569cb651.zip
Change the Mac OS X rules to compile a static binary. Also add a README file with a brief description of e200rpatcher and some build instructions. We still need a Windows developer to make this work there...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14671 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/e200rpatcher/Makefile')
-rw-r--r--rbutil/e200rpatcher/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/rbutil/e200rpatcher/Makefile b/rbutil/e200rpatcher/Makefile
index 243b2e6c09..788d78841f 100644
--- a/rbutil/e200rpatcher/Makefile
+++ b/rbutil/e200rpatcher/Makefile
@@ -26,12 +26,13 @@ e200rpatcher.exe: e200rpatcher.c bootimg.c
e200rpatcher-mac: e200rpatcher-i386 e200rpatcher-ppc
lipo -create e200rpatcher-ppc e200rpatcher-i386 -output e200rpatcher-mac
-e200rpatcher-i386: e200rpatcher.c bootimg.c
- gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o bin/i386/program -arch i386 $(CFLAGS) $(LIBS) -o e200rpatcher-i386 e200rpatcher.c bootimg.c
+
+e200rpatcher-i386: e200rpatcher.c bootimg.c usb.h libusb-i386.a
+ gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -framework iokit -framework coreservices -arch i386 $(CFLAGS) -o e200rpatcher-i386 e200rpatcher.c bootimg.c -I. libusb-i386.a
strip e200rpatcher-i386
-e200rpatcher-ppc: e200rpatcher.c bootimg.c
- gcc -arch ppc $(CFLAGS) $(LIBS) -o e200rpatcher-ppc e200rpatcher.c bootimg.c
+e200rpatcher-ppc: e200rpatcher.c bootimg.c usb.h libusb-ppc.a
+ gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -framework iokit -framework coreservices -arch ppc $(CFLAGS) -o e200rpatcher-ppc e200rpatcher.c bootimg.c -I. libusb-ppc.a
strip e200rpatcher-ppc
bin2c: ../sansapatcher/bin2c.c