mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-14 15:42:28 -05:00
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
This commit is contained in:
parent
7e0ed6b79f
commit
76ea412d5f
1 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ CROSS=i586-mingw32msvc-
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LIBS = -lusb
|
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
|
NATIVECC = gcc
|
||||||
CC = $(CROSS)gcc
|
CC = $(CROSS)gcc
|
||||||
|
|
@ -21,7 +22,7 @@ e200rpatcher: e200rpatcher.c bootimg.c
|
||||||
strip e200rpatcher
|
strip e200rpatcher
|
||||||
|
|
||||||
e200rpatcher.exe: e200rpatcher.c bootimg.c
|
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
|
$(CROSS)strip e200rpatcher.exe
|
||||||
|
|
||||||
e200rpatcher-mac: e200rpatcher-i386 e200rpatcher-ppc
|
e200rpatcher-mac: e200rpatcher-i386 e200rpatcher-ppc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue