So I have this Makefile based build system that my users feel is working too slowly. For the sake of this question lets define performance as the time it takes make to figur
Make takes no time parsing the Makefile, nor building the DAG. I've used makefiles that $(eval...)
thousands of lines of make, build a dag with many 100s of files and return almost instantly (well ok, in a second or two) when there is nothing to do.
So where is your speed going?
${MAKE} blah...
)) is invariably slow. (It's invariably bad too IMHO.)$(shell...)
—Use make facilities wherever possible-jn
(n > 1). Ensure that you tell make exactly what can be built in parallel with what. Do not use shell loops if at all possible.