summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-09-15 22:49:29 +0000
committerDave Chapman <dave@dchapman.com>2007-09-15 22:49:29 +0000
commit76ea412d5f8ea786b60aaf773e44b997f36aaa01 (patch)
tree5de1487d0f2f821671179dd105963d8f94f5727d
parent7e0ed6b79f2f5dbbb5843ed836ea07ba675e731d (diff)
downloadrockbox-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/Makefile3
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-
10endif 10endif
11 11
12LIBS = -lusb 12LIBS = -lusb
13WINLIBS = -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
14NATIVECC = gcc 15NATIVECC = gcc
15CC = $(CROSS)gcc 16CC = $(CROSS)gcc
@@ -21,7 +22,7 @@ e200rpatcher: e200rpatcher.c bootimg.c
21 strip e200rpatcher 22 strip e200rpatcher
22 23
23e200rpatcher.exe: e200rpatcher.c bootimg.c 24e200rpatcher.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
27e200rpatcher-mac: e200rpatcher-i386 e200rpatcher-ppc 28e200rpatcher-mac: e200rpatcher-i386 e200rpatcher-ppc