3 ms·
I don't really like those, because then it makes it harder to separate out the source and the build directory. VPATH is a partial solution, but I find it much
by MereInterest 9y ago
I don't really like those, because then it makes it harder to separate out the source and the build directory. VPATH is a partial solution, but I find it much easier to have a single explicit pattern rule, rather than using both implicit pattern rules and modification of those implicit pattern rules.
- syncsynchalt 9y agoThat's fair. In actual projects of more than a few source files I do copy/paste some boilerplate to give me a build dir, dependency files, and so on. I just thought this (actual real-world example that I use for smallish projects) would help someone.