mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-07-19 13:34:37 -04:00
f2611e0237
Co-authored-by: @CodeforEvolution Co-authored-by: Luca Weiss <luca@z3ntu.xyz> Co-authored-by: Begasus <begasus@gmail.com> Co-authored-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
23 lines
292 B
Plaintext
23 lines
292 B
Plaintext
|
|
|
|
OS=$(shell uname)
|
|
|
|
ifeq ($(OS), Linux)
|
|
FILE=Makefile.linux
|
|
endif
|
|
|
|
ifeq ($(OS), FreeBSD)
|
|
FILE=Makefile.freebsd
|
|
endif
|
|
|
|
ifeq ($(OS), Haiku)
|
|
FILE=Makefile.haiku
|
|
endif
|
|
|
|
ifeq ($(FILE), )
|
|
all:
|
|
$(error Your platform ${OS} is not supported by hidapi/libusb at this time.)
|
|
endif
|
|
|
|
include $(FILE)
|