Build a phony rule that depends on a delay evaluated SRCDEPS variable at the end of the build so that modules that add to it are properly tracked.
Build a phony rule that depends on a delay evaluated SRCDEPS variable at the end of the build so that modules that add to it are properly tracked.