3 ms·
This looks very similar to the Makefile I'm using except that beside -MMD I also have -MP flag. I created this Makefile a couple years back and I'm reusing it f
by babuskov 9y ago
This looks very similar to the Makefile I'm using except that beside -MMD I also have -MP flag. I created this Makefile a couple years back and I'm reusing it for every new project, but I cannot recall really why I needed to add -MP.
- vortico 9y agohttps://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Preprocessor-Options.html https://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Preprocessor-Op... Looks useful, I'll add it to my configs.
- babuskov 9y agoYes, that's it. Removing a .h file from your project would trigger errors without that switch. I looked at clang manual when I searched for it, but unlike GCC it does not explain it.