Make工作:GNU Make, CMake,SCons

http://www.dwheeler.com/autotools/
Try to use autotools, and after that gmake looks like child's play


SCons vs. CMake


The GNU build system, also known as the Autotools, is a suite of programming tools designed to assist in making source-code packages portable to many Unix-like systems.
It can be difficult to make a software program portable: the C compiler differs from system to system; certain library functions are missing on some systems; header files may have different names. One way to handle this is write conditional code, with code blocks selected by means of preprocessor directives (#ifdef); but because of the wide variety of build environments this approach quickly becomes unmanageable. Autotools is designed to address this problem more manageably.
Autotools is part of the GNU toolchain and is widely used in many free-software and open-source packages. Its component tools are free-software-licensed under the GNU General Public License with special license exceptions[1][2] permitting its use with proprietary software.

GNU Automake
Automake helps to create portable Makefiles, which are in turn processed with the make utility. It takes its input as Makefile.am, and turns it into Makefile.in, which is used by the configure script to generate the file Makefile output.
GNU Libtool
Libtool helps manage the creation of static and dynamic libraries on various Unix-like operating systems. Libtool accomplishes this by abstracting the library-creation process, hiding differences between various systems (e.g. GNU/Linux systems vs. Solaris).
Gnulib
Gnulib simplifies the process of making software that uses Autoconf and Automake portable to a wide range of systems.

 

你可能感兴趣的:(Make)