Makefile-manual
author sl
Tue, 20 May 2014 22:31:46 +0200
changeset 5 4cb67272815c
permissions -rw-r--r--
Adding SetPixelBlock function which is now used by SetPixel.
It allows us to fill our screen much faster than one pixel at a time.
     1 
     2 
     3 OS=$(shell uname)
     4 
     5 ifeq ($(OS), Darwin)
     6 	FILE=Makefile.mac
     7 endif
     8 
     9 ifneq (,$(findstring MINGW,$(OS)))
    10 	FILE=Makefile.mingw
    11 endif
    12 
    13 ifeq ($(OS), Linux)
    14 	FILE=Makefile.linux
    15 endif
    16 
    17 ifeq ($(OS), FreeBSD)
    18 	FILE=Makefile.freebsd
    19 endif
    20 
    21 ifeq ($(FILE), )
    22 all:
    23 	$(error Your platform ${OS} is not supported at this time.)
    24 endif
    25 
    26 include $(FILE)