summaryrefslogtreecommitdiffstats
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 @@
WIN_DRIVERS_LIBUSB_DIR = C:\Program Files\LibUSB-Win32
WIN_LIBUSB_INCLUDE_DIR = "$(WIN_DRIVERS_LIBUSB_DIR)\include"
-WIN_LIBUSB_LIB_DIR = "$(WIN_DRIVERS_LIBUSB_DIR)\lib\gcc"
+WIN_LIBUSB_LIB_DIR = "$(WIN_DRIVERS_LIBUSB_DIR)\lib\$(CC)"
-linux: usbtool HXFmerge HXFreplace HXFsplit
-win: usbtool_win HXFmerge_win HXFsplit_win HXFreplace_win
+CFLAGS=-Wall
+
+linux: usbtool HXFmerge HXFreplace HXFsplit IHFSsplit
+win: usbtool_win HXFmerge_win HXFsplit_win HXFreplace_win IHFSsplit_win
usbtool:
- gcc -Wall -o usbtool jz4740_usbtool.c -lusb
+ $(CC) $(CFLAGS) -o usbtool jz4740_usbtool.c -lusb
usbtool_win:
- gcc -Wall -o usbtool.exe jz4740_usbtool.c -lusb -I $(WIN_LIBUSB_INCLUDE_DIR) -L $(WIN_LIBUSB_LIB_DIR)
+ $(CC) $(CFLAGS) -o usbtool.exe jz4740_usbtool.c -lusb -I $(WIN_LIBUSB_INCLUDE_DIR) -L $(WIN_LIBUSB_LIB_DIR)
HXFmerge:
- gcc -Wall -o HXFmerge HXFmerge.c
+ $(CC) $(CFLAGS) -o HXFmerge HXFmerge.c
HXFreplace:
- gcc -Wall -o HXFreplace HXFreplace.c
+ $(CC) $(CFLAGS) -o HXFreplace HXFreplace.c
HXFsplit:
- gcc -Wall -o HXFsplit HXFsplit.c
+ $(CC) $(CFLAGS) -o HXFsplit HXFsplit.c
+IHFSsplit:
+ $(CC) $(CFLAGS) -o IHFSsplit IHFSsplit.c
HXFmerge_win:
- gcc -Wall -o HXFmerge.exe HXFmerge.c
+ $(CC) $(CFLAGS) -o HXFmerge.exe HXFmerge.c
HXFreplace_win:
- gcc -Wall -o HXFreplace.exe HXFreplace.c
+ $(CC) $(CFLAGS) -o HXFreplace.exe HXFreplace.c
HXFsplit_win:
- gcc -Wall -o HXFsplit.exe HXFsplit.c
+ $(CC) $(CFLAGS) -o HXFsplit.exe HXFsplit.c
+IHFSsplit_win:
+ $(CC) $(CFLAGS) -o IHFSsplit.exe IHFSsplit.c
clean-linux:
rm HXFmerge HXFreplace HXFsplit usbtool