summaryrefslogtreecommitdiffstats
path: root/rbutil/e200rpatcher
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 /rbutil/e200rpatcher
parent7e0ed6b79f2f5dbbb5843ed836ea07ba675e731d (diff)
downloadrockbox-76ea412d5f8ea786b60aaf773e44b997f36aaa01.tar.gz
rockbox-76ea412d5f8ea786b60aaf773e44b997f36aaa01.tar.bz2
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
Diffstat (limited to 'rbutil/e200rpatcher')
-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-
endif
LIBS = -lusb
+WINLIBS = -I libusb-win32-device-bin-0.1.12.1/include libusb-win32-device-bin-0.1.12.1/lib/dynamic/libusb_dyn.c
NATIVECC = gcc
CC = $(CROSS)gcc
@@ -21,7 +22,7 @@ e200rpatcher: e200rpatcher.c bootimg.c
strip e200rpatcher
e200rpatcher.exe: e200rpatcher.c bootimg.c
- $(CC) $(CFLAGS) $(LIBS) -o e200rpatcher.exe e200rpatcher.c bootimg.c
+ $(CC) $(CFLAGS) $(WINLIBS) -o e200rpatcher.exe e200rpatcher.c bootimg.c
$(CROSS)strip e200rpatcher.exe
e200rpatcher-mac: e200rpatcher-i386 e200rpatcher-ppc