The Make program is indispensable to maintainers of free software systems. The GNU Make manual, written by the program's original authors, is the definitive tutorial. It also includes an introductory chapter for novice users. The Make utility automates the process of compilation; it is especially useful when the source files of large programs change. It is a small program with a lot of power.
This book will show you how to write your own makefiles:
Make's rule syntax and how to write your own rules
How the Make utility can be configured to automatically put binary and source files in the right places.
How to use make to create archive files automatically
Define, set and use Make's variables
How Make uses targets so that you can broaden or narrow Make's recompilation efforts on demand.
And much more!
This manual provides a complete explanation of Make, both the basics and extended features. There is also a convenient Quick Reference appendix for experts.
Download Here (PDF)