aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 2b8eef7b..809466c1 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -25,8 +25,7 @@ $(TARGET): $(objects) $(deps)
$(CXX) $(CXXFLAGS) -MMD -c $< -o $@
%.d: %.cpp
- $(CXX) $(CXXFLAGS) -MMD -E -c $< -o $(@:.d=.tmp)
- rm $(@:.d=.tmp)
+ $(CXX) $(CXXFLAGS) -MM -c $< -MF $@
clean:
-$(RM) $(TARGET) $(objects) $(deps)