compile package

Can You Make It? Compile C Programs on Linux Using Make Command

by Balakrishnan Mariyappan on August 19, 2010

When you install any software from source, you typically execute commands like — “make”, “make install”, “make clean”, etc. Have you wondered what all these make commands are really making? Sure, we know that it is trying to compile and install the software. But, why make? What does it really do?

For compiling a single C program, cc command is very helpful. For compiling multiple C programs, Make utility is very helpful.

Also, C programmers and sysadmins will find it helpful to automate the compilation related tasks using make utility. In this article, let us review how to use make command.