diff options
author | Dave Chapman <dave@dchapman.com> | 2007-09-15 22:49:29 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2007-09-15 22:49:29 +0000 |
commit | 76ea412d5f8ea786b60aaf773e44b997f36aaa01 (patch) | |
tree | 5de1487d0f2f821671179dd105963d8f94f5727d | |
parent | 7e0ed6b79f2f5dbbb5843ed836ea07ba675e731d (diff) | |
download | rockbox-76ea412d5f8ea786b60aaf773e44b997f36aaa01.tar.gz rockbox-76ea412d5f8ea786b60aaf773e44b997f36aaa01.zip |
Modify Makefile for cross-compiling a windows .exe - this requires the libusb-win32-device-bin-0.1.12.1 archive extracted to the e200rpatcher source directory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14722 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | rbutil/e200rpatcher/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rbutil/e200rpatcher/Makefile b/rbutil/e200rpatcher/Makefile index 788d78841f..73ac574651 100644 --- a/rbutil/e200rpatcher/Makefile +++ b/rbutil/e200rpatcher/Makefile | |||
@@ -10,6 +10,7 @@ CROSS=i586-mingw32msvc- | |||
10 | endif | 10 | endif |
11 | 11 | ||
12 | LIBS = -lusb | 12 | LIBS = -lusb |
13 | WINLIBS = -I libusb-win32-device-bin-0.1.12.1/include libusb-win32-device-bin-0.1.12.1/lib/dynamic/libusb_dyn.c | ||
13 | 14 | ||
14 | NATIVECC = gcc | 15 | NATIVECC = gcc |
15 | CC = $(CROSS)gcc | 16 | CC = $(CROSS)gcc |
@@ -21,7 +22,7 @@ e200rpatcher: e200rpatcher.c bootimg.c | |||
21 | strip e200rpatcher | 22 | strip e200rpatcher |
22 | 23 | ||
23 | e200rpatcher.exe: e200rpatcher.c bootimg.c | 24 | e200rpatcher.exe: e200rpatcher.c bootimg.c |
24 | $(CC) $(CFLAGS) $(LIBS) -o e200rpatcher.exe e200rpatcher.c bootimg.c | 25 | $(CC) $(CFLAGS) $(WINLIBS) -o e200rpatcher.exe e200rpatcher.c bootimg.c |
25 | $(CROSS)strip e200rpatcher.exe | 26 | $(CROSS)strip e200rpatcher.exe |
26 | 27 | ||
27 | e200rpatcher-mac: e200rpatcher-i386 e200rpatcher-ppc | 28 | e200rpatcher-mac: e200rpatcher-i386 e200rpatcher-ppc |