Beyond Makefiles: GNU make is For More Than Just Compiling | Linux Today

Beyond Makefiles: GNU make is For More Than Just Compiling

Written By
JK
Juliet Kemp
Jun 15, 2010

“To get its instructions, make looks for a file called makefile
or Makefile, which contains definitions for constructing different
targets. You specify the target on the command line, and then make
carries out the actions for that target (e.g. make install will
carry out the commands for the install target). However, the
makefile also specifies a set of files on which each target
depends, and the commands will be run only if those files have been
modified since the last time this target was generated. Otherwise,
make will not do anything.”

Complete
Story

JK

Juliet Kemp

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.