Skip to content

Commit

Permalink
Warning for make version (#360)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
max-lobur authored Oct 26, 2023
1 parent ae83420 commit 82e8634
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/Makefile.build-harness
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 82e8634

Please sign in to comment.