[Scummvm-cvs-logs] SF.net SVN: scummvm:[45462] scummvm/trunk

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Wed Oct 28 14:43:57 CET 2009


Revision: 45462
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45462&view=rev
Author:   fingolfin
Date:     2009-10-28 13:43:57 +0000 (Wed, 28 Oct 2009)

Log Message:
-----------
BUILD: Reduce build overhead by marking *.d and *.mk files as .PHONY, thus preventing Make from futile searches for rule to rebuild those files

Modified Paths:
--------------
    scummvm/trunk/Makefile.common
    scummvm/trunk/tools/module.mk

Modified: scummvm/trunk/Makefile.common
===================================================================
--- scummvm/trunk/Makefile.common	2009-10-28 13:43:09 UTC (rev 45461)
+++ scummvm/trunk/Makefile.common	2009-10-28 13:43:57 UTC (rev 45462)
@@ -134,6 +134,8 @@
 # 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

Modified: scummvm/trunk/tools/module.mk
===================================================================
--- scummvm/trunk/tools/module.mk	2009-10-28 13:43:09 UTC (rev 45461)
+++ scummvm/trunk/tools/module.mk	2009-10-28 13:43:57 UTC (rev 45462)
@@ -18,6 +18,8 @@
 
 include $(srcdir)/tools/*/module.mk
 
+.PHONY: $(srcdir)/tools/*/module.mk
+
 # Make sure the 'all' / 'clean' targets build/clean the tools, too
 #all:
 clean: clean-tools


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list