Instructions to build make-4.2.1-msvc-build
September 3, 2025 ยท View on GitHub
This repository takes the source code for GNUmake 4.2.1
within the file make-4.2.1.tar.gz
from here
and adapts the legacy MSVC build to a more modern version of MSVC 14.2.
Instructions to build make-4.2.1-msvc-build
Here are the instructions to build make-4.2.1-msvc-build.
- Clone or get ckormanyos/make-4.2.1-msvc-build.
- Navigate to the MSVC solution file
make-4.2.1.slnwhich is stored here. - Open
make-4.2.1.slnin MSVC 14.2 - i.e., Microsoft(R) VisualStudio(R) 2019 or higher (the Community Edition works also). - Select Debug/Release as desired in the usual way.
- Leave the solution configuration
x64set in the usual way (since this is actually the only supported solution configuration). - Rebuild solution and find the executable file
make-4.2.1.exein the standard output path location.
You might want to rename the executable from make-4.2.1.exe file to simply make.exe.
The resulting executable file make-4.2.1.exe ( or if manually renamed make.exe)
can be used just like you would use regular, traditional make on *nix.
Changes
Minor changes in the source code have been undertaken.
- Disable the famous warning 4996.
- Leave all other warnings unchanged.
- Change the name of one shadowed variable.
- Update the legacy MSVC workspace and adapt its naming.
- Add a solution configuration
x64with settings initially copied fromx86in the usual MSVC way. - Eliminate the
x86configuration and retain only the 64-bit solution configurationx64. - Upload build artifact in CI for
make-4.2.1-win64-msvc, see also discussion in issue 1. - Add
TCC-support from github.com/jamosdev.TCCis the tiny C-Compiler, which is a very efficient and portable standalone C-Compiler. For further information, please see the discussion in pr 10