diff --git a/next/try.alt.sh b/next/try.alt.sh index 307a77795..1480c3fa4 100755 --- a/next/try.alt.sh +++ b/next/try.alt.sh @@ -24,7 +24,8 @@ # XXX - then change the 'all' to 'all alt' in the below command. - XXX # XXX - Later, if the submission wins, it can be changed to 'everything'. - XXX # XXX - - XXX -make CC="$CC" all >/dev/null || exit 1 +MAKE=$(command -v gmake) +${MAKE:=make} CC="$CC" all >/dev/null || exit 1 # clear the screen # diff --git a/next/try.sh b/next/try.sh index bae594d12..16c2a0086 100755 --- a/next/try.sh +++ b/next/try.sh @@ -24,7 +24,8 @@ # XXX - then change the 'all' to 'all alt' in the below command. - XXX # XXX - Later, if the submission wins, it can be changed to 'everything'. - XXX # XXX - - XXX -make CC="$CC" all >/dev/null || exit 1 +MAKE=$(command -v gmake) +${MAKE:=make} CC="$CC" all >/dev/null || exit 1 # clear the screen # diff --git a/template/entry/try.sh.judging b/template/entry/try.sh.judging index c24acf20d..6d2da496e 100755 --- a/template/entry/try.sh.judging +++ b/template/entry/try.sh.judging @@ -9,7 +9,8 @@ # make sure the program has been built # -make CC="$CC" all >/dev/null || exit 1 +MAKE=$(command -v gmake) +${MAKE:=make} CC="$CC" all >/dev/null || exit 1 # clear the screen #