On Windows (MSYS2), hidapi is used instead of hidapi-hidraw. This PR avoids the need to specify it when calling make. So, make works instead of make HIDAPI=hidapi.
At the same time, LIBUSB_CFLAGS, LIBUSB_LIBS, HIDAPI_CFLAGS and HIDAPI_LIBS seems unnecessary, because those are used in a single place.
On Windows (MSYS2),
hidapi
is used instead ofhidapi-hidraw
. This PR avoids the need to specify it when calling make. So,make
works instead ofmake HIDAPI=hidapi
.At the same time,
LIBUSB_CFLAGS
,LIBUSB_LIBS
,HIDAPI_CFLAGS
andHIDAPI_LIBS
seems unnecessary, because those are used in a single place.Trailing whitespaces are removed too.