-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SCP: Move .git-commit-id.h to where used
Move .git-commit-id.h include to where it's actually referenced in scp.c to reduce the recompile overhead for build systems that track build dependencies. Ensure that headers that reference SIM_MAJOR include sim_rev.h as a defensive coding practice. Net effect: Reduces recompiled source to a minimum when .git-commit-id.h is updated and removes the sim_defs.h > sim_rev.h > .git-commit-id.h dependency subgraph. Everything includes sim_defs.h, so a change to .git-commit-id.h causes a large recompile, vice what should just be a scp.c recompile and simulator suite relink. Does not impact makefile builds, since makefile builds will recompile everything; dependency tracking is superfluous.
- Loading branch information
Showing
5 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,7 @@ | |
|
||
|
||
|
||
#include "sim_rev.h" /* For SIM_MAJOR */ | ||
#include "sim_tape.h" | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters