About this document
Simple Makefile Tutorial Guide by Narendran Naresh is a document available to read on EtoBox.
This document provides a tutorial on using makefiles to automate code compilation. It begins with a simple example project containing two C files and a header file. It then shows progressively more advanced makefiles, introducing concepts like macros, dependencies, rules and phony targets to only rebuild changed files. The final makefile example demonstrates placing source, object and header files in different directories and adding clean-up rules.
- Author
- Narendran Naresh
- Language
- EN