News for hackers. Stuff that matters.
Re:Using GNU Make's 'define' and '$(eval)' to automate rule ... by reedhedges on Friday January 27, 2012 @11:44AM (#3518907)
I'm not saying you can't do it. Make is really powerful and fun once you take a few minutes to think about how it is supposed to work (rules that generate file outputs), but a lot of programmers don't (who treat rules as procedures resulting in a file thats 90% phony rules). You have to be very careful with define to generate rules. Just be aware there are syntax pitfalls, compatibility pitfalls (between relatively recent versions of make), and just confusion if you aren't clear on what you're doing.

There are no comments on this comment yet.