Skip to content

amjadmajid/Makefile

Repository files navigation

The Little Book on Makefile

Cover image

By Amjad Yousef Majid

Welcome to the repository of The Little Book on Makefile. This book aims to provide a practical and detailed introduction to the world of Makefiles, a powerful tool for automating and managing build systems, particularly for C and C++ programs.

In this book, we dive deep into the creation and usage of Makefiles, exploring the associated best practices and tips. Whether you're a beginner just starting out with C/C++ or an experienced developer looking to streamline your build process, this book is designed for you.

Table of Contents

  1. Introduction to Makefiles
  2. Manual Compilation
  3. Basic Makefile
  4. Compile the source code in the directory of the source files
  5. Compile the source code in a directory that differs from the one containing the source files
  6. Generic Makefile
  7. Recap

About the Author

Amjad Yousef Majid is a senior researcher with a wealth of experience spanning various domains of technology such as AI, Robotics, Cloud computing, and IoT development. His foray into these fields has yielded a robust understanding of the intricacies involved in managing and organizing complex software projects.

Passionate about knowledge sharing, Amjad seeks to bridge the gap between theory and practice through his works. With his strong background in both academia and industry, he is uniquely positioned to provide insights into the practical use of Makefiles, focusing not only on how they work, but why we use them.


Your feedback, suggestions, and contributions to improve this book are most welcome. Please feel free to create an issue or submit a pull request.

Enjoy your reading!

About

This repo contains explanation about how to write a Makefile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published