aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index a1f43128a2..1c6403db0d 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -182,10 +182,13 @@ else
GITROOT := git://github.com/scummvm/scummvm.git
endif
+# Amiga needs date in another format
+AMIGA_DATE = $(shell date '+%d.%m.%Y')
+
# Define the Subversion revision if available, either autodetected or
# specified by the user, but only for base/version.cpp.
ifneq ($(origin VER_REV), undefined)
-base/version.o: CXXFLAGS:=$(CXXFLAGS) -DSCUMMVM_REVISION=\"$(VER_REV)\"
+base/version.o: CXXFLAGS:=$(CXXFLAGS) -DSCUMMVM_REVISION=\"$(VER_REV)\" -DAMIGA_DATE=\"$(AMIGA_DATE)\"
endif
######################################################################