summaryrefslogtreecommitdiff
path: root/utils/jz4740_tools/Makefile
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-08-07 10:24:11 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-08-07 10:24:11 +0000
commitc8bdcbf8ff7892011a084b4b6d6f35a75248e724 (patch)
tree86e94d539e1aecf40795a3406292866dab4deda5 /utils/jz4740_tools/Makefile
parent99f68ea7e8d288a7c7c31bff685168b8b4632c0d (diff)
downloadrockbox-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/Makefile28
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 @@
1WIN_DRIVERS_LIBUSB_DIR = C:\Program Files\LibUSB-Win32 1WIN_DRIVERS_LIBUSB_DIR = C:\Program Files\LibUSB-Win32
2WIN_LIBUSB_INCLUDE_DIR = "$(WIN_DRIVERS_LIBUSB_DIR)\include" 2WIN_LIBUSB_INCLUDE_DIR = "$(WIN_DRIVERS_LIBUSB_DIR)\include"
3WIN_LIBUSB_LIB_DIR = "$(WIN_DRIVERS_LIBUSB_DIR)\lib\gcc" 3WIN_LIBUSB_LIB_DIR = "$(WIN_DRIVERS_LIBUSB_DIR)\lib\$(CC)"
4 4
5linux: usbtool HXFmerge HXFreplace HXFsplit 5CFLAGS=-Wall
6win: usbtool_win HXFmerge_win HXFsplit_win HXFreplace_win 6
7linux: usbtool HXFmerge HXFreplace HXFsplit IHFSsplit
8win: usbtool_win HXFmerge_win HXFsplit_win HXFreplace_win IHFSsplit_win
7 9
8usbtool: 10usbtool:
9 gcc -Wall -o usbtool jz4740_usbtool.c -lusb 11 $(CC) $(CFLAGS) -o usbtool jz4740_usbtool.c -lusb
10usbtool_win: 12usbtool_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
13HXFmerge: 15HXFmerge:
14 gcc -Wall -o HXFmerge HXFmerge.c 16 $(CC) $(CFLAGS) -o HXFmerge HXFmerge.c
15HXFreplace: 17HXFreplace:
16 gcc -Wall -o HXFreplace HXFreplace.c 18 $(CC) $(CFLAGS) -o HXFreplace HXFreplace.c
17HXFsplit: 19HXFsplit:
18 gcc -Wall -o HXFsplit HXFsplit.c 20 $(CC) $(CFLAGS) -o HXFsplit HXFsplit.c
21IHFSsplit:
22 $(CC) $(CFLAGS) -o IHFSsplit IHFSsplit.c
19 23
20HXFmerge_win: 24HXFmerge_win:
21 gcc -Wall -o HXFmerge.exe HXFmerge.c 25 $(CC) $(CFLAGS) -o HXFmerge.exe HXFmerge.c
22HXFreplace_win: 26HXFreplace_win:
23 gcc -Wall -o HXFreplace.exe HXFreplace.c 27 $(CC) $(CFLAGS) -o HXFreplace.exe HXFreplace.c
24HXFsplit_win: 28HXFsplit_win:
25 gcc -Wall -o HXFsplit.exe HXFsplit.c 29 $(CC) $(CFLAGS) -o HXFsplit.exe HXFsplit.c
30IHFSsplit_win:
31 $(CC) $(CFLAGS) -o IHFSsplit.exe IHFSsplit.c
26 32
27clean-linux: 33clean-linux:
28 rm HXFmerge HXFreplace HXFsplit usbtool 34 rm HXFmerge HXFreplace HXFsplit usbtool