summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-04-02 21:05:10 +0000
committertron <tron@openttd.org>2005-04-02 21:05:10 +0000
commitc75d699b02d2e884e474ae12e74ef1dffea48332 (patch)
treeace99c29d6fafc59d7e8d88e7a05da8a7418a6a6
parentffe868a38acdeb83f0112b666725f06ee4cee03f (diff)
downloadopenttd-c75d699b02d2e884e474ae12e74ef1dffea48332.tar.xz
(svn r2133) Fix dependency tracking for C++ files
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 90fd85a9c..6dd21d725 100644
--- a/Makefile
+++ b/Makefile
@@ -978,7 +978,7 @@ DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
%.o: %.cpp $(MAKE_CONFIG) endian.h table/strings.h
$(call cmd,cxx_compile)
- @mv $(<:%.c=%.d) $(<:%.c=.deps/%.d)
+ @mv $(<:%.cpp=%.d) $(<:%.cpp=.deps/%.d)
# Silence stale header dependencies
%.h: