Improve scripts change detection in Makefile
authorVirgil Dupras <hsoft@hardcoded.net>
Wed, 18 Jul 2018 12:14:41 +0000 (08:14 -0400)
committerVirgil Dupras <hsoft@hardcoded.net>
Wed, 18 Jul 2018 12:14:41 +0000 (08:14 -0400)
commit0eefdb9250f5a24df5ef86c380ec03f8918af68a
tree7624a65d725b973cb8c2f6df42939be448743051
parentecb95a374bc174b1e9126af2373675b77d7a6c2e
Improve scripts change detection in Makefile

When changing a script in `src/scripts`, `make` would need to be invoked
twice for a proper build: once for `scripts.h` and once for the `.o`
files depending on it.

This commit fixes this by integrating `src/scripts/Makefile` into
`src/Makefile` to allow for proper dependency update detection.
src/Makefile
src/scripts/Makefile [deleted file]