diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-07-03 12:17:56 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-07-03 12:17:56 +0000 |
commit | 6fd40a57b81484a57f1c5a8ddbd48855a89e660f (patch) | |
tree | 59609082705b4b825ca472a4f65d0ce04bab2925 /utils/jz4740_tools/Makefile | |
parent | ab498e547b9c96bc2ae662cdc4c5fdb5d2db1f35 (diff) | |
download | rockbox-6fd40a57b81484a57f1c5a8ddbd48855a89e660f.tar.gz rockbox-6fd40a57b81484a57f1c5a8ddbd48855a89e660f.zip |
Jz4740 Tools:
* update Makefile
* add README
* update svn properties
* fix small mistakes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17926 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/jz4740_tools/Makefile')
-rw-r--r--[-rwxr-xr-x] | utils/jz4740_tools/Makefile | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/utils/jz4740_tools/Makefile b/utils/jz4740_tools/Makefile index e61b837d99..6ebf0c8fb3 100755..100644 --- a/utils/jz4740_tools/Makefile +++ b/utils/jz4740_tools/Makefile | |||
@@ -1,9 +1,30 @@ | |||
1 | WIN_DRIVERS_LIBUSB_DIR = D:\Program Files\LibUSB-Win32 | 1 | WIN_DRIVERS_LIBUSB_DIR = C:\Program Files\LibUSB-Win32 |
2 | WIN_LIBUSB_INCLUDE_DIR = "$(WIN_DRIVERS_LIBUSB_DIR)\include" | 2 | WIN_LIBUSB_INCLUDE_DIR = "$(WIN_DRIVERS_LIBUSB_DIR)\include" |
3 | WIN_LIBUSB_LIB_DIR = "$(WIN_DRIVERS_LIBUSB_DIR)\lib\gcc" | 3 | WIN_LIBUSB_LIB_DIR = "$(WIN_DRIVERS_LIBUSB_DIR)\lib\gcc" |
4 | 4 | ||
5 | linux: usbtool HXFmerge HXFreplace HXFsplit | ||
6 | win: usbtool_win HXFmerge_win HXFsplit_win HXFreplace_win | ||
7 | |||
5 | usbtool: | 8 | usbtool: |
6 | gcc -Wall -o usbtool jz4740_usbtool.c -lusb | 9 | gcc -Wall -o usbtool jz4740_usbtool.c -lusb |
10 | usbtool_win: | ||
11 | gcc -Wall -o usbtool.exe jz4740_usbtool.c -lusb -I $(WIN_LIBUSB_INCLUDE_DIR) -L $(WIN_LIBUSB_LIB_DIR) | ||
12 | |||
13 | HXFmerge: | ||
14 | gcc -Wall -o HXFmerge HXFmerge.c | ||
15 | HXFreplace: | ||
16 | gcc -Wall -o HXFreplace HXFreplace.c | ||
17 | HXFsplit: | ||
18 | gcc -Wall -o HXFsplit HXFsplit.c | ||
19 | |||
20 | HXFmerge_win: | ||
21 | gcc -Wall -o HXFmerge.exe HXFmerge.c | ||
22 | HXFreplace_win: | ||
23 | gcc -Wall -o HXFreplace.exe HXFreplace.c | ||
24 | HXFsplit_win: | ||
25 | gcc -Wall -o HXFsplit.exe HXFsplit.c | ||
7 | 26 | ||
8 | usbtoolwin: | 27 | clean-linux: |
9 | gcc -Wall -o usbtool.exe jz4740_usbtool.c -lusb -I $(WIN_LIBUSB_INCLUDE_DIR) -L $(WIN_LIBUSB_LIB_DIR) \ No newline at end of file | 28 | rm HXFmerge HXFreplace HXFsplit usbtool |
29 | clean-win: | ||
30 | del HXFmerge.exe HXFreplace.exe HXFsplit.exe usbtool.exe | ||