News for hackers. Stuff that matters.
Re:Notes on Writing Makefiles by dahart on Friday November 27, 2015 @11:55PM (#10640069)
> Pattern rules are your friend

Amen. Been writing small makefiles for many years, and only recently learned how to use pattern rules properly. They finally relieved my temptation to use eval.

Speaking of eval, I have one makefile tip I've learned the hard way: the example in the gnu make manual for eval doesn't run! It has an incorrect "=" (equals sign) in the define. I've racked my brain against that one for hours, twice, because a couple years later I'd forgotten about the first time I figured it out.

Re:Notes on Writing Makefiles by JupiterMoon on Saturday November 28, 2015 @06:21AM (#10640774)
Can you file a bug with them? Maybe submit a patch to their documentation?
Re:Notes on Writing Makefiles by dahart on Saturday November 28, 2015 @02:22PM (#10642031)
Yes, I can, and have just done so. :)
Re:Notes on Writing Makefiles by dahart on Saturday November 28, 2015 @02:28PM (#10642054)