Makefile-manual
author sl
Thu, 22 May 2014 16:46:50 +0200
changeset 22 efa6ff02287c
permissions -rw-r--r--
Sorting out and testing our display position command.
To avoid refresh artefact we will indeed need to use this feature.
It will go like that:
* Setup off screen buffer
* Swap frame buffer
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)