diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-08-07 10:24:11 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-08-07 10:24:11 +0000 |
commit | c8bdcbf8ff7892011a084b4b6d6f35a75248e724 (patch) | |
tree | 86e94d539e1aecf40795a3406292866dab4deda5 /utils/jz4740_tools/Makefile | |
parent | 99f68ea7e8d288a7c7c31bff685168b8b4632c0d (diff) | |
download | rockbox-c8bdcbf8ff7892011a084b4b6d6f35a75248e724.tar.gz rockbox-c8bdcbf8ff7892011a084b4b6d6f35a75248e724.zip |
jz4740 utilities:
* Fix TABs problem
* Add IHFSsplit made by William Poetra Yoga Hadisoeseno
* Fix compilation warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18206 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/jz4740_tools/Makefile')
-rw-r--r-- | utils/jz4740_tools/Makefile | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/utils/jz4740_tools/Makefile b/utils/jz4740_tools/Makefile index 6ebf0c8fb3..7ed79eb22c 100644 --- a/utils/jz4740_tools/Makefile +++ b/utils/jz4740_tools/Makefile | |||
@@ -1,28 +1,34 @@ | |||
1 | WIN_DRIVERS_LIBUSB_DIR = C:\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\$(CC)" |
4 | 4 | ||
5 | linux: usbtool HXFmerge HXFreplace HXFsplit | 5 | CFLAGS=-Wall |
6 | win: usbtool_win HXFmerge_win HXFsplit_win HXFreplace_win | 6 | |
7 | linux: usbtool HXFmerge HXFreplace HXFsplit IHFSsplit | ||
8 | win: usbtool_win HXFmerge_win HXFsplit_win HXFreplace_win IHFSsplit_win | ||
7 | 9 | ||
8 | usbtool: | 10 | usbtool: |
9 | gcc -Wall -o usbtool jz4740_usbtool.c -lusb | 11 | $(CC) $(CFLAGS) -o usbtool jz4740_usbtool.c -lusb |
10 | usbtool_win: | 12 | usbtool_win: |
11 | gcc -Wall -o usbtool.exe jz4740_usbtool.c -lusb -I $(WIN_LIBUSB_INCLUDE_DIR) -L $(WIN_LIBUSB_LIB_DIR) | 13 | $(CC) $(CFLAGS) -o usbtool.exe jz4740_usbtool.c -lusb -I $(WIN_LIBUSB_INCLUDE_DIR) -L $(WIN_LIBUSB_LIB_DIR) |
12 | 14 | ||
13 | HXFmerge: | 15 | HXFmerge: |
14 | gcc -Wall -o HXFmerge HXFmerge.c | 16 | $(CC) $(CFLAGS) -o HXFmerge HXFmerge.c |
15 | HXFreplace: | 17 | HXFreplace: |
16 | gcc -Wall -o HXFreplace HXFreplace.c | 18 | $(CC) $(CFLAGS) -o HXFreplace HXFreplace.c |
17 | HXFsplit: | 19 | HXFsplit: |
18 | gcc -Wall -o HXFsplit HXFsplit.c | 20 | $(CC) $(CFLAGS) -o HXFsplit HXFsplit.c |
21 | IHFSsplit: | ||
22 | $(CC) $(CFLAGS) -o IHFSsplit IHFSsplit.c | ||
19 | 23 | ||
20 | HXFmerge_win: | 24 | HXFmerge_win: |
21 | gcc -Wall -o HXFmerge.exe HXFmerge.c | 25 | $(CC) $(CFLAGS) -o HXFmerge.exe HXFmerge.c |
22 | HXFreplace_win: | 26 | HXFreplace_win: |
23 | gcc -Wall -o HXFreplace.exe HXFreplace.c | 27 | $(CC) $(CFLAGS) -o HXFreplace.exe HXFreplace.c |
24 | HXFsplit_win: | 28 | HXFsplit_win: |
25 | gcc -Wall -o HXFsplit.exe HXFsplit.c | 29 | $(CC) $(CFLAGS) -o HXFsplit.exe HXFsplit.c |
30 | IHFSsplit_win: | ||
31 | $(CC) $(CFLAGS) -o IHFSsplit.exe IHFSsplit.c | ||
26 | 32 | ||
27 | clean-linux: | 33 | clean-linux: |
28 | rm HXFmerge HXFreplace HXFsplit usbtool | 34 | rm HXFmerge HXFreplace HXFsplit usbtool |