From fb300c37623f5ad5d11450570c1d96546421a496 Mon Sep 17 00:00:00 2001 From: krcroft Date: Sun, 19 Jan 2020 09:19:02 -0800 Subject: [PATCH] Use GNU make < 4.x define syntax Versions of GNU make prior to verion 4 do not support 'define =' syntax, but do however support 'define' without the equals operator. This commit removes the equals operator to ensure this Makefile is compatible with older versions of GNU make. Reported and tested on Windows XP-MinGW with GNU make 3.81 by @ant-222; thank you! --- contrib/static-opus/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/static-opus/Makefile b/contrib/static-opus/Makefile index 0d850d6e..315d9bb2 100644 --- a/contrib/static-opus/Makefile +++ b/contrib/static-opus/Makefile @@ -61,7 +61,7 @@ distclean: # one download fails then we assume they all will and therefore # give the user the full list up-front. # -define download = +define download echo "Downloading $(URL) to ./$@" \ && $(CURL) "$(URL)" -o "$@" \ || $(WGET) "$(URL)" -O "$@" \ @@ -204,7 +204,7 @@ lib/libopusfile.a: opusfile/Makefile && cp -v include/*.h ../include/opus \ && cp -v .libs/*.a ../lib -define OPUSFILE_EXPORTS = +define OPUSFILE_EXPORTS Export the following to configure DOSBox without pkg-config ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~