aboutsummaryrefslogtreecommitdiffstats
path: root/gfx.mk
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-09-30 13:33:00 +1000
committerinmarket <andrewh@inmarket.com.au>2014-09-30 13:33:19 +1000
commitb1b00b1cc9780db403bba2f21837fef20b9d8e8c (patch)
tree9be1c59a2052ffc4e14781d7e869d74b52c81b86 /gfx.mk
parent417f64bd3ce27cc707cfd50eb1e988ddeb759fec (diff)
downloaduGFX-b1b00b1cc9780db403bba2f21837fef20b9d8e8c.tar.gz
uGFX-b1b00b1cc9780db403bba2f21837fef20b9d8e8c.tar.bz2
uGFX-b1b00b1cc9780db403bba2f21837fef20b9d8e8c.zip
Updated make scripts to be more compatible with older versions of gmake 3.XX
Diffstat (limited to 'gfx.mk')
-rw-r--r--gfx.mk21
1 files changed, 14 insertions, 7 deletions
diff --git a/gfx.mk b/gfx.mk
index a0f27c53..89c3282a 100644
--- a/gfx.mk
+++ b/gfx.mk
@@ -28,18 +28,25 @@ endif
# Include the operating system define
ifeq ($(OPT_OS),win32)
GFXDEFS += GFX_USE_OS_WIN32=TRUE
-else ifeq ($(OPT_OS),linux)
+endif
+ifeq ($(OPT_OS),linux)
GFXDEFS += GFX_USE_OS_LINUX=TRUE
-else ifeq ($(OPT_OS),osx)
+endif
+ifeq ($(OPT_OS),osx)
GFXDEFS += GFX_USE_OS_OSX=TRUE
-else ifeq ($(OPT_OS),chibios)
+endif
+ifeq ($(OPT_OS),chibios)
GFXDEFS += GFX_USE_OS_CHIBIOS=TRUE
-else ifeq ($(OPT_OS),freertos)
+endif
+ifeq ($(OPT_OS),freertos)
GFXDEFS += GFX_USE_OS_FREERTOS=TRUE
-else ifeq ($(OPT_OS),ecos)
+endif
+ifeq ($(OPT_OS),ecos)
GFXDEFS += GFX_USE_OS_ECOS=TRUE
-else ifeq ($(OPT_OS),rawrtos)
+endif
+ifeq ($(OPT_OS),rawrtos)
GFXDEFS += GFX_USE_OS_RAWRTOS=TRUE
-else ifeq ($(OPT_OS),raw32)
+endif
+ifeq ($(OPT_OS),raw32)
GFXDEFS += GFX_USE_OS_RAW32=TRUE
endif