mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-01-31 01:25:21 +01:00
Files named Makefile which will conflict with autotools have been renamed to Makefile-manual.
19 lines
244 B
Plaintext
19 lines
244 B
Plaintext
|
|
|
|
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)
|