Make

Automatically build C and C++ projects without makefile.

Creating a Mac file for a C or C++ program is tedious, especially because of the very specific syntax of this file, which dates from the antiquity of computers.

Now it has been found that it is more interesting to create a CMake file from which you can automatically create a makefile file. But that doesn't make it any easier, and we see that there are hundreds of tutorials on the Internet to help build this new configuration file for generating configuration files.

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

No Make checks for each source file whether there is an already created object file or a source newer than the object file, and compiles the source only in this case.
However, you can select an option to restore the entire project. In both cases with one command:

nomake source

or:

nomake -a source

"source" is the source name 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 have # include for their dependencies. Another limitation 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 included commands, and then compiles the sources, starting with those with the least dependencies and ending with those with the most.

To display a list of options, enter only the program name:

nomake

To adjust

The nomake.ini file is a simple text file containing a list of options for adapting nomake to the compiler and project:

Example:

compiler=@cl.exe /nologo /O2 /c /D "_UNIX" /Ip:\antlr-2.7.7\lib\cpp\antlr\ /Ip:\antlr-2.7.7\lib\cpp\  /EHsc  
linker=@link.exe /nologo /OUT:ccw.exe
extension= .obj
libs=antlr.a

Loading

Download No Make

Source code included. License: Apache 2.0

Works with Visual C on Windows by default.

See also: