From 8cc07f2d4c513ed7bd9d0d9a825102555038c715 Mon Sep 17 00:00:00 2001 From: inmarket Date: Tue, 30 Sep 2014 13:33:00 +1000 Subject: Updated make scripts to be more compatible with older versions of gmake 3.XX --- tools/gmake_scripts/compiler_gcc.mk | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'tools/gmake_scripts/compiler_gcc.mk') 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 -- cgit v1.2.3