News for hackers. Stuff that matters.
Re:Lazy GNU make variables by dozzie on Saturday July 23, 2016 @04:04PM (#12150807)
You have rough corners in every language. Make is actually quite good (meaning: easy to read, without much gymnastics) in its typical use case of compiling a software project. The post was written specifically to explore one of these rough corners everything has.
Re:Lazy GNU make variables by jessaustin on Saturday July 23, 2016 @08:15PM (#12151608)
Reading it may be easy, but every time I've tried to use make (i.e. write a Makefile that does what I want) I've found it to be composed almost entirely of rough corners.
[dead]
Re:Lazy GNU make variables by jessaustin on Sunday July 24, 2016 @07:33AM (#12153046)
Yes, and I've purchased and read books, and I've read online resources. Granted, none of this has been within the last several years, so if there have been major changes in that span I've missed them.

But thanks for the charitable question!

Re:Lazy GNU make variables by dima55 on Saturday July 23, 2016 @09:05PM (#12151731)
Whoa. This is NOT a rough corner. It is a fundamental part of the language. Deferred variables are akin to functions in other languages, while immediate ones are more like variables in other languages.
Re:Lazy GNU make variables by ssalazar on Saturday July 23, 2016 @10:52PM (#12151999)
Did you read the whole article? This technique doesn't appear in the manual at all and I've read it quite a few times. If it was so fundamental why is it so awkward to construct?