aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJohannes Schickel2010-06-17 18:47:25 +0000
committerJohannes Schickel2010-06-17 18:47:25 +0000
commitb56b3b9eadd82685da6f8973bc8775176e67f1ff (patch)
tree43e38fda9b5fc73349bccb1422c3c50835fa0bf5 /common
parent1cb4f703f116d5d69e72f9ae45fa863fb062ab9f (diff)
downloadscummvm-rg350-b56b3b9eadd82685da6f8973bc8775176e67f1ff.tar.gz
scummvm-rg350-b56b3b9eadd82685da6f8973bc8775176e67f1ff.tar.bz2
scummvm-rg350-b56b3b9eadd82685da6f8973bc8775176e67f1ff.zip
Fix common/messages.cpp rule for out of source directory builds. (Maybe this fixed bug #3017628 "AMIGAOS4: messages.cpp errors")
svn-id: r49940
Diffstat (limited to 'common')
-rw-r--r--common/module.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/module.mk b/common/module.mk
index 7a1f83c995..f40ca2f0a0 100644
--- a/common/module.mk
+++ b/common/module.mk
@@ -30,10 +30,10 @@ MODULE_OBJS := \
zlib.o
ifdef USE_TRANSLATION
-common/translation.cpp: common/messages.cpp
+$(srcdir)/common/translation.cpp: $(srcdir)/common/messages.cpp
-common/messages.cpp: $(wildcard po/*.po)
- tools/po2c $^ > common/messages.cpp
+$(srcdir)/common/messages.cpp: $(wildcard $(srcdir)/po/*.po)
+ $(srcdir)/tools/po2c $^ > $(srcdir)/common/messages.cpp
endif
# Include common rules