Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build order for targets which depend on auto-generated files
These auto-generated files should always be rebuilt first, and hence must be listed first in the dependencies. Otherwise, if we add a command to a Protocol.txt file and also implement that command in the Commands.cpp source file, we might try to compile Commands.cpp before rebuilding autogen_Protocol.h, which will fail with a compile error, which prevents Make from reaching the autogen_Protocol.cpp target which would cause the header file to be updated as a side effect, which would resolve the compile error.
- Loading branch information