No Make

Builds C and C++ projects automatically with no makefile.

Producing a makefile for a C or C ++ program is tedious, especially because of the very special syntax of this file, which dates back to ancient computers.

One found now that it was more convenient to produce a CMake file from which a makefile file can be generated automatically. But that does not simplify the work and we see that there are hundreds of tutorials on the web to help build this new configuration file for generating configuration files.

To put it simply, I wrote No Make, a program that finds the dependencies of each source file by itself and compiles them, before generating the executable program.

No Make checks for each source file if there is an object file already generated or if the source is newer than the object file, and it compiles the source only in this case.
One can however with the option -a choose to regenerate the whole project. In both cases with one command:

nomake source


nomake -a source

"source" is the name of the source code of the file containing the "main" function. The extension is optional. It must include the header files of the sources on which it depends, which themselves must also have #include for their dependencies. Another constraint is that all source files must have the same extension, ".c" or ".cpp".

No Make first builds a list of all the necessary files, based on the include commands, and compiles the sources starting with the ones with the least dependencies and ending with the one with the most.

To display the list of options, just type the name of the program:



Download No Make

The source code is included. License: Apache 2.0

Works with Visual C on Windows.

See also: