summaryrefslogtreecommitdiff
path: root/utils/jz4740_tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/jz4740_tools/Makefile')
-rwxr-xr-xutils/jz4740_tools/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/jz4740_tools/Makefile b/utils/jz4740_tools/Makefile
new file mode 100755
index 0000000000..e61b837d99
--- /dev/null
+++ b/utils/jz4740_tools/Makefile
@@ -0,0 +1,9 @@
1WIN_DRIVERS_LIBUSB_DIR = D:\Program Files\LibUSB-Win32
2WIN_LIBUSB_INCLUDE_DIR = "$(WIN_DRIVERS_LIBUSB_DIR)\include"
3WIN_LIBUSB_LIB_DIR = "$(WIN_DRIVERS_LIBUSB_DIR)\lib\gcc"
4
5usbtool:
6 gcc -Wall -o usbtool jz4740_usbtool.c -lusb
7
8usbtoolwin:
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