Where can I set path to make.exe on Windows?
c++, makefile, msys, path, registry
Solution
The path is in the registry but usually you edit through this interface:
- Go to `Control Panel` -> `System` -> `System settings` -> `Environment Variables`.
- Scroll down in system variables until you find `PATH`.
- Click edit and change accordingly.
- BE SURE to include a semicolon at the end of the previous as that is the delimiter, i.e. `c:\path;c:\path2`
- Launch a new console for the settings to take effect.
Problem
When I try run `make` from cmd-console on Windows, it runs Turbo Delphi's `make.exe` but I need MSYS's `make.exe`. There is no mention about Turbo Delphi in `%path%` variable, maybe I can change it to MSYS in registry?