From 82e8634efcb8ab3aae39fb5f472c9daeafd3c02a Mon Sep 17 00:00:00 2001 From: Max Lobur Date: Fri, 27 Oct 2023 02:45:32 +0300 Subject: [PATCH] Warning for make version (#360) * Warning for make version We've had numerous issues with built-in macos make. Let's warn users if their version doesn't match what we expect * Update Makefile.build-harness * Update Makefile.build-harness --- templates/Makefile.build-harness | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/Makefile.build-harness b/templates/Makefile.build-harness index 4dab815a..df2a3539 100644 --- a/templates/Makefile.build-harness +++ b/templates/Makefile.build-harness @@ -67,6 +67,7 @@ endef .PHONY : init ## Init build-harness init:: + if ! make --version | grep -q "GNU Make 4.4"; then echo "GNU Make 4.4 is required. Please upgrade. For MacOS users it's 'brew install make'."; fi @ $(harness_install) .PHONY : clean