aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorMax Horn2003-07-15 02:16:33 +0000
committerMax Horn2003-07-15 02:16:33 +0000
commitb05e7de7bb7d59647356d63ccb10e53bbec61bcd (patch)
tree9086c81565e5a46e912fd00a63239bc46b2bf342 /Makefile.common
parentcc8334638b5f3f79e23b5580282a753f65b75ad5 (diff)
downloadscummvm-rg350-b05e7de7bb7d59647356d63ccb10e53bbec61bcd.tar.gz
scummvm-rg350-b05e7de7bb7d59647356d63ccb10e53bbec61bcd.tar.bz2
scummvm-rg350-b05e7de7bb7d59647356d63ccb10e53bbec61bcd.zip
replaced SCUMMVM_VERSION/SCUMMVM_CVS by gScummVMVersion/gScummVMBuildDate/gScummVMFullVersion; made engine.o depend on all other .o files, so that the build date in it is always up-to-date
svn-id: r9032
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index e6d08c648d..9a74dc12f3 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -58,6 +58,11 @@ CPPFLAGS:= $(DEFINES) $(INCLUDES)
# Include the build instructions for all modules
-include $(addsuffix /module.mk,$(MODULES))
+# Make engine.o depend on all other object files. This way if anything is
+# changed, it causes engine.cpp to be recompiled. This in turn ensures that
+# the build date in gScummVMBuildDate is correct.
+common/engine.o: $(OBJS)
+
# HACK temporary fix to get compilation on OS X (and possibly others) working again
OBJS:=common/engine.o $(OBJS)