diff --git a/2024/burton/try.sh b/2024/burton/try.sh index 8bdb99321..ecf8de5cf 100755 --- a/2024/burton/try.sh +++ b/2024/burton/try.sh @@ -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 # diff --git a/2024/cable1/try.sh b/2024/cable1/try.sh index 3dca4d0ec..6cb1c3383 100755 --- a/2024/cable1/try.sh +++ b/2024/cable1/try.sh @@ -25,7 +25,8 @@ fi # read -r -n 1 -p "Press any key to when ready: " echo 1>&2 -make CC="$CC" all >/dev/null || exit 1 +MAKE=$(command -v gmake) +${MAKE:=make} CC="$CC" all >/dev/null || exit 1 # select a game # diff --git a/2024/cable2/try.sh b/2024/cable2/try.sh index c128f948f..460792b19 100755 --- a/2024/cable2/try.sh +++ b/2024/cable2/try.sh @@ -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 # diff --git a/2024/carlini/try.sh b/2024/carlini/try.sh index 2b48dcfbf..836c1781c 100755 --- a/2024/carlini/try.sh +++ b/2024/carlini/try.sh @@ -11,7 +11,8 @@ fi # 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 # diff --git a/2024/codemeow/try.sh b/2024/codemeow/try.sh index 0c514451e..bc3384705 100755 --- a/2024/codemeow/try.sh +++ b/2024/codemeow/try.sh @@ -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 # diff --git a/2024/endoh1/try.sh b/2024/endoh1/try.sh index 9946c08ce..34cfa5a84 100755 --- a/2024/endoh1/try.sh +++ b/2024/endoh1/try.sh @@ -12,7 +12,8 @@ fi # 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 diff --git a/2024/endoh2/try.sh b/2024/endoh2/try.sh index 669609fae..4955ef10e 100755 --- a/2024/endoh2/try.sh +++ b/2024/endoh2/try.sh @@ -9,7 +9,8 @@ # make sure the program has been built # -make CC="$CC" all tipple >/dev/null || exit 1 +MAKE=$(command -v gmake) +${MAKE:=make} CC="$CC" all tipple >/dev/null || exit 1 # clear the screen # diff --git a/2024/ferguson1/try.sh b/2024/ferguson1/try.sh index 4f659fb09..9b46c763c 100755 --- a/2024/ferguson1/try.sh +++ b/2024/ferguson1/try.sh @@ -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 # diff --git a/2024/ferguson2/try.sh b/2024/ferguson2/try.sh index 228cc8bf5..e920e6f04 100755 --- a/2024/ferguson2/try.sh +++ b/2024/ferguson2/try.sh @@ -9,7 +9,8 @@ # make sure the program and the alt program have been built # -make CC="$CC" everything >/dev/null || exit 1 +MAKE=$(command -v gmake) +${MAKE:=make} CC="$CC" everything >/dev/null || exit 1 # clear the screen # diff --git a/2024/howe/try.sh b/2024/howe/try.sh index 7748aa188..cce9b6fef 100755 --- a/2024/howe/try.sh +++ b/2024/howe/try.sh @@ -9,7 +9,7 @@ if [[ -z "$CC" ]]; then CC="cc" fi -MAKE=$(which gmake) +MAKE=$(command -v gmake) ${MAKE:=make} CC="$CC" all >/dev/null || exit 1 read -r -n 1 -p "Press any key to form foo: " diff --git a/2024/kramer/try.sh b/2024/kramer/try.sh index ad467175f..2c67a2f9a 100755 --- a/2024/kramer/try.sh +++ b/2024/kramer/try.sh @@ -9,7 +9,8 @@ # make sure the program and the alt program have been built # -make CC="$CC" everything >/dev/null || exit 1 +MAKE=$(command -v gmake) +${MAKE:=make} CC="$CC" everything >/dev/null || exit 1 # clear the screen # diff --git a/2024/kurdyukov1/try.sh b/2024/kurdyukov1/try.sh index 7aefd4dd4..f0efa497e 100755 --- a/2024/kurdyukov1/try.sh +++ b/2024/kurdyukov1/try.sh @@ -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 # diff --git a/2024/kurdyukov2/try.sh b/2024/kurdyukov2/try.sh index f1e348c2f..e3ec8cf0e 100755 --- a/2024/kurdyukov2/try.sh +++ b/2024/kurdyukov2/try.sh @@ -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 # diff --git a/2024/kurdyukov3/try.alt.sh b/2024/kurdyukov3/try.alt.sh index d94c75c1a..7dbb3bf3c 100755 --- a/2024/kurdyukov3/try.alt.sh +++ b/2024/kurdyukov3/try.alt.sh @@ -9,7 +9,8 @@ # make sure the program has been built # -make CC="$CC" alt >/dev/null || exit 1 +MAKE=$(command -v gmake) +${MAKE:=make} CC="$CC" alt >/dev/null || exit 1 # clear the screen # diff --git a/2024/kurdyukov3/try.sh b/2024/kurdyukov3/try.sh index 709506a10..93e65d77f 100755 --- a/2024/kurdyukov3/try.sh +++ b/2024/kurdyukov3/try.sh @@ -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 # diff --git a/2024/kurdyukov4/try.sh b/2024/kurdyukov4/try.sh index 90d5b6319..f196862d7 100755 --- a/2024/kurdyukov4/try.sh +++ b/2024/kurdyukov4/try.sh @@ -9,7 +9,8 @@ # make sure the program and the alt program have been built # -make CC="$CC" everything >/dev/null || exit 1 +MAKE=$(command -v gmake) +${MAKE:=make} CC="$CC" everything >/dev/null || exit 1 # clear the screen # diff --git a/2024/macke/try.sh b/2024/macke/try.sh index 19320fb81..92cf806dc 100755 --- a/2024/macke/try.sh +++ b/2024/macke/try.sh @@ -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 # diff --git a/2024/maffiodo/try.sh b/2024/maffiodo/try.sh index cca586133..7c084924f 100755 --- a/2024/maffiodo/try.sh +++ b/2024/maffiodo/try.sh @@ -9,7 +9,8 @@ # make sure the program and the alt program have been built # -make CC="$CC" everything >/dev/null || exit 1 +MAKE=$(command -v gmake) +${MAKE:=make} CC="$CC" everything >/dev/null || exit 1 # clear the screen # diff --git a/2024/mills/try.alt.sh b/2024/mills/try.alt.sh index 9c7bb968c..21d80fa04 100755 --- a/2024/mills/try.alt.sh +++ b/2024/mills/try.alt.sh @@ -9,7 +9,8 @@ # make sure the program has been built # -make CC="$CC" alt >/dev/null || exit 1 +MAKE=$(command -v gmake) +${MAKE:=make} CC="$CC" alt >/dev/null || exit 1 # clear the screen # diff --git a/2024/mills/try.sh b/2024/mills/try.sh index f29175689..90ae0b556 100755 --- a/2024/mills/try.sh +++ b/2024/mills/try.sh @@ -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 # diff --git a/2024/stedolan/try.sh b/2024/stedolan/try.sh index abbe58bb1..6eee1393a 100755 --- a/2024/stedolan/try.sh +++ b/2024/stedolan/try.sh @@ -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 # diff --git a/2024/straadt/try.sh b/2024/straadt/try.sh index 4487bd220..38cbbea5c 100755 --- a/2024/straadt/try.sh +++ b/2024/straadt/try.sh @@ -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 # diff --git a/2024/tmarrec/try.sh b/2024/tmarrec/try.sh index 1300ff5eb..6e89e8229 100755 --- a/2024/tmarrec/try.sh +++ b/2024/tmarrec/try.sh @@ -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 # diff --git a/2024/tompng/try.sh b/2024/tompng/try.sh index 3cda237c8..f2945f5de 100755 --- a/2024/tompng/try.sh +++ b/2024/tompng/try.sh @@ -11,7 +11,8 @@ fi # 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 # diff --git a/2024/weaver/try.sh b/2024/weaver/try.sh index 6ce8b38b7..05af4566e 100755 --- a/2024/weaver/try.sh +++ b/2024/weaver/try.sh @@ -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 #