It is advised to use -MM
option to manage indirect dependencies in headers. Why we don't use touch
command. Am I missing anything here, or just it's because it's a hack and we want to keep the real last modification of timestamp (look like intrusive method).
Example: - stack.h, stack.c, array.h, array.c array depend on stack
array.o: array.c
array.c: array.h
stack.o: stack.c
stack.c: stack.h
stack.h: array.h
touch stack.h
Another thing: files need to be entirely reparsed each time with -MM
option, right ? And not with this touch
method and be an advantage if I don't miss anything, no ?