any good tool for makefile generation? [closed]

By : Serge

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).

By : Serge


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...

By : Thomi

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 
By : prakash

I do not know if you have interest on this question any more. I am working on a similar Makefile auto-generator projection called CodeMate, developed by using Ruby. Maybe it is not that mature for large application right now, but I will keep working on it to make it better. Users should not need to edit any configuration file to build the software, or at least it is supposed to be. The learning curve should be minimized.

By : Li Dong

This video can help you solving your question :)
By: admin