3 ms·
Meanwhile, there’s a perfectly good introduction in the GNU Make manual: https://www.gnu.org/software/make/manual/make.html#Introduction https://www.gnu.org/so
by teddyh 10y ago
Meanwhile, there’s a perfectly good introduction in the GNU Make manual:
https://www.gnu.org/software/make/manual/make.html#Introduction https://www.gnu.org/software/make/manual/make.html#Introduct...
Also available in print: https://shop.fsf.org/books-docs/gnu-make-version-381 https://shop.fsf.org/books-docs/gnu-make-version-381
- pawadu 10y agothank you for posting this
- pdkl95 10y agoUnless your distro excludes the Texinfo docs, the same manual is probably also available locally: info make GNU tools often use man pages for a quick reference of the options, return codes, etc. Unfortunately, as info(1) isn't as well known as man(1), it's easy to miss that many GNU tools have detailed manuals.
- groovy2shoes 10y agoI learned how to use make by reading OpenBSD's man page for it[1]. It's written extremely well, and is concise yet comprehensive. Of course, it's specific to BSD make, but most of the concepts are portable to GNU make with some caveats. FreeBSD and NetBSD, iirc, both have similarly high-quality manuals for their respective makes, and I've come to favor BSD make in general, using bmake[2] on Linux and Cygwin for my own projects (bmake being a portable, packaged-up version of NetBSD's make). [1]: http://man.openbsd.org/OpenBSD-current/man1/make.1 http://man.openbsd.org/OpenBSD-current/man1/make.1 [2]: http://www.crufty.net/help/sjg/bmake.htm http://www.crufty.net/help/sjg/bmake.htm