aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gmake_scripts
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 /tools/gmake_scripts
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 'tools/gmake_scripts')
-rw-r--r--tools/gmake_scripts/compiler_gcc.mk12
1 files changed, 8 insertions, 4 deletions
diff --git a/tools/gmake_scripts/compiler_gcc.mk b/tools/gmake_scripts/compiler_gcc.mk
index eed78e82..0e5b8098 100644
--- a/tools/gmake_scripts/compiler_gcc.mk
+++ b/tools/gmake_scripts/compiler_gcc.mk
@@ -23,13 +23,17 @@ endif
ifeq ($(BUILDDIR),)
ifeq ($(MAKECMDGOALS),Debug)
BUILDDIR = bin/Debug
- else ifeq ($(MAKECMDGOALS),Release)
+ endif
+ ifeq ($(MAKECMDGOALS),Release)
BUILDDIR = bin/Release
- else ifeq ($(MAKECMDGOALS),cleanDebug)
+ endif
+ ifeq ($(MAKECMDGOALS),cleanDebug)
BUILDDIR = bin/Debug
- else ifeq ($(MAKECMDGOALS),cleanRelease)
+ endif
+ ifeq ($(MAKECMDGOALS),cleanRelease)
BUILDDIR = bin/Release
- else
+ endif
+ ifeq ($(BUILDDIR),)
BUILDDIR = .build
endif
endif