From 00ee4273383feeb3b46566b565dfbd7dad7a3c60 Mon Sep 17 00:00:00 2001 From: Hannes Achleitner Date: Sun, 6 Sep 2020 13:37:14 +0200 Subject: [PATCH] Attempt to build all --- tools/make-all | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/tools/make-all b/tools/make-all index 0020102d0..c55e76c98 100755 --- a/tools/make-all +++ b/tools/make-all @@ -8,11 +8,16 @@ else MAKE=make fi -if [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then - PRJMAKEFILEGENERATOR=prjMakefilesGenerator.sh -else - PRJMAKEFILEGENERATOR=prjMakefilesGenerator.bat -fi +unameOut="$(uname -s)" +case "${unameOut}" in + Linux*) PRJMAKEFILEGENERATOR=prjMakefilesGenerator.sh;; + Darwin*) PRJMAKEFILEGENERATOR=prjMakefilesGenerator.sh;; + CYGWIN*) PRJMAKEFILEGENERATOR=prjMakefilesGenerator.sh;; + //MINGW*) PRJMAKEFILEGENERATOR=prjMakefilesGenerator.sh;; + *) PRJMAKEFILEGENERATOR=prjMakefilesGenerator.bat +esac + +echo PRJMAKEFILEGENERATOR=$PRJMAKEFILEGENERATOR for PROJ in $PROJECTS; do echo ===========================================