10
GNU Make - Unconditionally run a target before any other targets
(www.bahmanm.com)
A general programming discussion community.
To solve your DRY problem, you may not realize that you can generate target rules from built-in functions
evalandforeachand a user-defined new-line macro. Think of it like a preprocessor step.For example:
I winged it a bit for you, but hopefully I got it right, or at least right enough you get what I'm doing with this technique.