My Opera is closing 3rd of March

Something for Linux,Debian,Programming,Networks and Web

ВЯРВАЙ В НЕВЪЗМОЖНОТО И ДОКАЖИ ,ЧЕ Е ВЪЗМОЖНО! РОДЕН СЪМ ДА ТЕ ПОЗНАЯ И НАРИЧАМ ТЕ СВОБОДА! САМО МИСЛЕЩИЯТ ЧОВЕК Е СВОБОДЕН И НЕЗАВИСИМ!

Subscribe to RSS feed

Makefiles in Linux: An Overview

Small C/C++ applications with a couple of modules are easy to manage. Developers can recompile them easily by calling the compiler directly, passing source files as arguments. That is a simple approach. However, when a project gets too complex with many source files it becomes necessary to have a tool that allows the developer to manage the project.

The tool I'm talking about is the make command. The make command is used not only to help a developer compile applications, it can be used whenever you want to produce output files from several input files.

This article is not a full tutorial, it focuses on C applications and how to use the make command and makefile to build them. There is a zip file with many samples in a directory structure. The most important files in the samples are the makefiles not the C source code. You should download the samples file and unzip it with the unzip command or any other preferred tool. So, for a better understanding of this article:


http://www.codeproject.com/KB/cpp/makefiles_linux.aspx
February 2014
M T W T F S S
January 2014March 2014
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28