...
Code Block |
---|
main.o: main.cpp ../COLFOO/COLblahFOOblah.h ../FILDST/FILutilsDSTutils.h |
One could in theory maintain these by hand - but it would be very error prone and time consuming. Instead most good (not Microsoft) C++ compilers can generate these automatically using the -MMD flag. The precise flag will vary depending on the compiler.
...