I am trying to upgrade gnu make version to 4.1 on my mac, but I couldn't install successfully. Here are what I did so far:
1. install xcode v8.2.1
2. manually upgrade gnu make with the following commands.
# Download gnu make-4.1.tar.gz from gnu website.
./configure
make
sudo make install
This doesn't make my make version to v4.1 when I type make --version on my terminal.
3. Running xcode-select --install on command line didn't solve the problem either.
My system info:
$ sw_vers -productVersion
$ v10.12.4
$ cmake --version
$ v3.10.0
$ make --version
$ 3.81
Thanks.