author | sl |
Mon, 19 May 2014 21:11:52 +0200 | |
changeset 1 | 5c2c48109457 |
permissions | -rw-r--r-- |
3 OS=$(shell uname)
5 ifeq ($(OS), Darwin)
6 FILE=Makefile.mac
7 endif
9 ifneq (,$(findstring MINGW,$(OS)))
10 FILE=Makefile.mingw
11 endif
13 ifeq ($(OS), Linux)
14 FILE=Makefile.linux
15 endif
17 ifeq ($(OS), FreeBSD)
18 FILE=Makefile.freebsd
19 endif
21 ifeq ($(FILE), )
22 all:
23 $(error Your platform ${OS} is not supported at this time.)
24 endif
26 include $(FILE)