any good tool for makefile generation?


I'm looking for a tool which can generate makefile for a C/C++ project for different compilers (gcc, microsoft vc++, borland etc) and different platforms (Win, Linux, Mac).

3/13/2018 5:26:51 PM

Accepted Answer

Other suggestions you may want to consider:

  • Scons is a cross-platform, cross-compiler build library, uses Python scruipting for the build systems. Used in a variety of large projects, and performs very well.

  • If you're using Qt, QMake is a nice build system too.

  • CMake is also pretty sweet.

  • Finally, If all else fails...

9/6/2016 11:52:33 PM

Have you tried Automatic Makefile Generator?

It supports for the following compilers:

Borland 3.1 
Borland 5.0 
Borland 5.0, 16 bit 
Borland 5.5 
Borland 5.6 
Borland 5.8 
Gnu g++ 
Gnu g++, dynamic library 
Intel 5, 6, 7 for Linux 
Intel 5, 6, 7 for Linux, dynamic library 
Intel 5, 6, 7 for windows 
Intel 8,9,10 for Linux 
Intel 8,9,10 for Linux, dynamic library 
Intel 8,9 for windows 
Intel 10 for windows 
Visual C++ 5 
Visual C++ 6, 7, 7.1 
Visual C++ 8 
Open Watcom 
Watcom 10A 
Watcom 10A, 16 bit 

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow