3 ms·
"Makefile, Best Practices: Use CMake to generate them for you"
by umvi 8y ago
"Makefile, Best Practices: Use CMake to generate them for you"
- nomel 8y agoYou joke, but I've personally never seen a hand made make build systems, in any company I've worked at, that could handle "fuzzing" by deleting or modifying random files in the build system and having the expected output. They all required a "clean" to get back in order. For those that maintain handmade make based build system of reasonable complexity, I challenge you to "fuzz" it before each build. It will not be a comfortable experience. On the other hand, I've seen many generated makefiles that behaved correctly that are totally unreadable.