aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorMax Horn2009-10-28 13:43:57 +0000
committerMax Horn2009-10-28 13:43:57 +0000
commiteffb6b60eb179c6b7b78ba30e20fd819a3b5bba9 (patch)
tree5b6387bd0836cbb18963f4157f8f84b16a906eb3 /Makefile.common
parent0b83a8eec03fac3fe3a7ea656be6ea8752477554 (diff)
downloadscummvm-rg350-effb6b60eb179c6b7b78ba30e20fd819a3b5bba9.tar.gz
scummvm-rg350-effb6b60eb179c6b7b78ba30e20fd819a3b5bba9.tar.bz2
scummvm-rg350-effb6b60eb179c6b7b78ba30e20fd819a3b5bba9.zip
BUILD: Reduce build overhead by marking *.d and *.mk files as .PHONY, thus preventing Make from futile searches for rule to rebuild those files
svn-id: r45462
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 72fe3c7510..7f6c3c4082 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -134,6 +134,8 @@ endif
# Include the dependency tracking files.
-include $(wildcard $(addsuffix /*.d,$(DEPDIRS)))
+.PHONY: $(wildcard $(addsuffix /*.d,$(DEPDIRS))) $(addprefix $(srcdir)/, $(addsuffix /module.mk,$(MODULES))) \
+ $(srcdir)/$(port_mk) $(srcdir)/rules.mk $(srcdir)/engines/engines.mk
######################################################################
# Get the current version information