Makefile-manual
author sl
Tue, 27 May 2014 17:49:33 +0200
changeset 27 ee1305f3a6bf
permissions -rw-r--r--
Experimenting with our bitmap to bitarray convertion.
sl@0
     1
sl@0
     2
sl@0
     3
OS=$(shell uname)
sl@0
     4
sl@0
     5
ifeq ($(OS), Darwin)
sl@0
     6
	FILE=Makefile.mac
sl@0
     7
endif
sl@0
     8
sl@0
     9
ifneq (,$(findstring MINGW,$(OS)))
sl@0
    10
	FILE=Makefile.mingw
sl@0
    11
endif
sl@0
    12
sl@0
    13
ifeq ($(OS), Linux)
sl@0
    14
	FILE=Makefile.linux
sl@0
    15
endif
sl@0
    16
sl@0
    17
ifeq ($(OS), FreeBSD)
sl@0
    18
	FILE=Makefile.freebsd
sl@0
    19
endif
sl@0
    20
sl@0
    21
ifeq ($(FILE), )
sl@0
    22
all:
sl@0
    23
	$(error Your platform ${OS} is not supported at this time.)
sl@0
    24
endif
sl@0
    25
sl@0
    26
include $(FILE)