mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-07-21 08:56:07 -04:00
23 lines
285 B
Makefile
23 lines
285 B
Makefile
|
|
|
|
OS=$(shell uname)
|
|
|
|
ifeq ($(OS), Darwin)
|
|
FILE=Makefile.mac
|
|
endif
|
|
|
|
ifneq (,$(findstring MINGW,$(OS)))
|
|
FILE=Makefile.mingw
|
|
endif
|
|
|
|
ifeq ($(OS), Linux)
|
|
FILE=Makefile.linux
|
|
endif
|
|
|
|
ifeq ($(FILE), )
|
|
all:
|
|
$(error Your platform ${OS} is not supported at this time.)
|
|
endif
|
|
|
|
include $(FILE)
|