3 ms·
Where would one go to find more of this conventional Makefile wisdom? I've had so many issues trying to use make the "right" way (flexible, clean, terse, etc.).
by Zelizz 8y ago
Where would one go to find more of this conventional Makefile wisdom? I've had so many issues trying to use make the "right" way (flexible, clean, terse, etc.).
I feel like one of the best ways to acquire this wisdom is to post a project with lots of mistakes and let people tear it apart.
- kazinator 8y agoI got it from working on lots of C for almost thirty years, and also by putting together a from-scratch embedded GNU/Linux distro some decade ago, and more recently doing distro work also. As far as knowing GNU Make, I recommend just reading the manual from beginning to end, perhaps twice.
- simonblack 8y agoI bought what seemed to be overstock or maybe it was just being remaindered in a 50%-off Uni Bookshop sale about 20 years ago. It's a tiny (80 page) little book called "Managing Projects with make" by Steve Talbot and printed by O'Reilly and Associates. Most of what I know about 'make' I learned from this book.
- emmelaich 8y agohttps://nostarch.com/gnumake https://nostarch.com/gnumake
- teddyh 8y agoThat is not, contrary to what the name might imply, the official GNU Make manual. That one can be read here, for free: https://www.gnu.org/software/make/manual/ https://www.gnu.org/software/make/manual/
- emmelaich 8y agoI don't take the name as implying that. Anyway, it is excellent and has some good advice and tips. Unlike the official manual which is more a reference.