ref: 6b34ea64c52ad272608af3bd9f9b7ea5c7ba4631
dir: /external/SDL2/src/hidapi/libusb/Makefile-manual/
OS=$(shell uname)
ifeq ($(OS), Linux)
FILE=Makefile.linux
endif
ifeq ($(OS), FreeBSD)
FILE=Makefile.freebsd
endif
ifeq ($(FILE), )
all:
$(error Your platform ${OS} is not supported by hidapi/libusb at this time.)
endif
include $(FILE)