Make for hipsters
mattandre.ws
Make for hipsters
1–10 of 200 posts
Re: Make for hipsters
#2If you want to see some interesting/convoluted Makefiles, get a very complex, large piece of software (something from Gnome, possibly) and use autoconf & automake to generate the Makefiles, then pour through them to see how they tick.
Re: Make for hipsters
#3Re: Make for hipsters
#4A better title would have been 'Make 101'. Its an absolute beginners tutorial.
Re: Make for hipsters
#5Re: Make for hipsters
#6Re: Make for hipsters
#7Re: Make for hipsters
#8From this perspective, a well structured Makefile can be thought of as a pipeline/graph of functions, that derive values (files) from previously known values (files).
Expressing a build process in this kind of way makes it possible to support incremental / distributed build in a fairly natural / obvious way.
It is less obvious how to support incremental / distributed builds for the more general kind of imperative build script that does a bunch of side effects (e.g. the style of build script you'd get using something like ant).
Re: Make for hipsters
#9I use make to manage JS and container builds. Couldn't imagine using anything else right now.