summaryrefslogtreecommitdiff
path: root/Makefile
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
commitedd301d364ff3e9b491540ff8ce51f47062a686e (patch)
treeace99c29d6fafc59d7e8d88e7a05da8a7418a6a6 /Makefile
parent10e4c9bfabfa7111cc2861fe1421aa15e3f913ab (diff)
downloadopenttd-edd301d364ff3e9b491540ff8ce51f47062a686e.tar.xz
(svn r2133) Fix dependency tracking for C++ files
Diffstat (limited to 'Makefile')
-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: