[Scummvm-git-logs] scummvm master -> bede68c8c66b4ba42662d45c09030081d639b53a
sev-
sev at scummvm.org
Sat Apr 3 21:04:40 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
bede68c8c6 MAKEFILE: Add a dependency for rebuilding base/plugins when config is changed
Commit: bede68c8c66b4ba42662d45c09030081d639b53a
https://github.com/scummvm/scummvm/commit/bede68c8c66b4ba42662d45c09030081d639b53a
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-04-03T23:04:38+02:00
Commit Message:
MAKEFILE: Add a dependency for rebuilding base/plugins when config is changed
When adding/removing an engine, config.mk is changed, and this effectively
passes different -DENABLE_* command-line arguments to the compiler.
If base/plugins is not recompiled, the list of active plugins is not updated.
Before b813d1ca0d6f7dbb09deeaebb687d28c2bcf58e9 config.h was created every
time configure was executed, so everything was recompiled anyway. Now we need
to have an explicit dependency.
The only source file that's supposed to be affected is base/plugins, so there
is no reason to rebuild everything. Just add this dependency to update the
plugin list.
Changed paths:
Makefile.common
diff --git a/Makefile.common b/Makefile.common
index 39e8d5e32b..dff8dbbcbc 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -147,6 +147,8 @@ endif
# The build rules for object files.
#
+base/plugins.o: config.mk
+
ifdef CXX_UPDATE_DEP_FLAG
# Build rule for C++ files. Makes use of CXX_UPDATE_DEP_FLAG for advanced
More information about the Scummvm-git-logs
mailing list