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