shithub: cstory

ref: 5c6b71e3a1b2f09155ea04263c268e3279e5c943
dir: /external/SDL2/src/hidapi/testgui/Makefile-manual/

View raw version


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 ($(OS), FreeBSD)
	FILE=Makefile.freebsd
endif

ifeq ($(FILE), )
all:
	$(error Your platform ${OS} is not supported at this time.)
endif

include $(FILE)