bashshellmakefilegit-bash

How to run "make" command in gitbash in windows?


Can anyone help me to run Makefile in Windows using the make command? When I try to run from git bash I'm getting the following error:

$ make build
bash: make: command not found

$ make deploy
bash: make: command not found

Is there anyway to install this in gitbash or something or is there any other Windows tool I need to use?


Solution

  • Sounds like Make isn't in your git-bash's path.

    A quick search shows this guide, which suggests the following steps:

    The guide is several years old. It may behoove you to read some of the comments before taking action.